summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authorzv@archiware.com <vasiljevic>2006-09-06 16:12:14 (GMT)
committerzv@archiware.com <vasiljevic>2006-09-06 16:12:14 (GMT)
commitd0be180b68cb946ee6d1e28043c9906ad3406c9b (patch)
treeb3a980576baa955bf22b7bcfec4598836b422239 /unix/tclUnixPort.h
parentace9fa6e94c767a7945ad6b9c79fbdf6e742d6a2 (diff)
downloadtcl-d0be180b68cb946ee6d1e28043c9906ad3406c9b.zip
tcl-d0be180b68cb946ee6d1e28043c9906ad3406c9b.tar.gz
tcl-d0be180b68cb946ee6d1e28043c9906ad3406c9b.tar.bz2
Use MODULE_SCOPE declaration where appropriate
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r--unix/tclUnixPort.h14
1 files 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 <pwd.h>
#include <grp.h>
-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);