From a997d1ebf0d281c2f1e2d4351b2c08ef1411cf8e Mon Sep 17 00:00:00 2001 From: vasiljevic Date: Wed, 6 Sep 2006 16:12:14 +0000 Subject: Use MODULE_SCOPE declaration where appropriate --- unix/tclUnixPort.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h index 52df636..533f205 100644 --- a/unix/tclUnixPort.h +++ b/unix/tclUnixPort.h @@ -19,7 +19,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclUnixPort.h,v 1.52 2006/09/06 13:23:37 vasiljevic Exp $ + * RCS: @(#) $Id: tclUnixPort.h,v 1.53 2006/09/06 16:12:14 vasiljevic Exp $ */ #ifndef _TCLUNIXPORT @@ -658,24 +658,24 @@ EXTERN int pthread_getattr_np _ANSI_ARGS_((pthread_t, pthread_attr_t *)); */ #include #include -EXTERN int +MODULE_SCOPE int TclpGetPwNam(const char *name, struct passwd *pwbuf, char *buf, size_t buflen, struct passwd **pwbufp); -EXTERN int +MODULE_SCOPE int TclpGetPwUid(uid_t uid, struct passwd *pwbuf, char *buf, size_t buflen, struct passwd **pwbufp); -EXTERN int +MODULE_SCOPE int TclpGetGrNam(const char *name, struct group *gbuf, char *buf, size_t buflen, struct group **gbufp); -EXTERN int +MODULE_SCOPE int TclpGetGrGid(gid_t gid, struct group *gbuf, char *buf, size_t buflen, struct group **gbufp); -EXTERN struct hostent * +MODULE_SCOPE struct hostent * TclpGetHostByName(const char *name, struct hostent *hbuf, char *buf, size_t buflen, int *h_errnop); -EXTERN struct hostent * +MODULE_SCOPE struct hostent * TclpGetHostByAddr(const char *addr, int length, int type, struct hostent *hbuf, char *buf, size_t buflen, int *h_errnop); -- cgit v0.12