summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorvasiljevic <zv@archiware.com>2006-09-06 16:12:14 (GMT)
committervasiljevic <zv@archiware.com>2006-09-06 16:12:14 (GMT)
commita997d1ebf0d281c2f1e2d4351b2c08ef1411cf8e (patch)
treeb3a980576baa955bf22b7bcfec4598836b422239 /unix
parent37158882c5d9a964f6d13016267e3ab5ba77acfd (diff)
downloadtcl-a997d1ebf0d281c2f1e2d4351b2c08ef1411cf8e.zip
tcl-a997d1ebf0d281c2f1e2d4351b2c08ef1411cf8e.tar.gz
tcl-a997d1ebf0d281c2f1e2d4351b2c08ef1411cf8e.tar.bz2
Use MODULE_SCOPE declaration where appropriate
Diffstat (limited to 'unix')
-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);