summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-14 19:56:43 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-14 19:56:43 (GMT)
commitea654cca69bc5e2bc539a27b0d7322f20466134f (patch)
tree55eda7fdbc9face1592531a010869f1673fa7634 /unix/tclUnixPort.h
parentb2d00eb8176d84863a75aa771036a478115dbf57 (diff)
parentd64b6707b4b91c88d56b0147c0237411f47caa39 (diff)
downloadtcl-ea654cca69bc5e2bc539a27b0d7322f20466134f.zip
tcl-ea654cca69bc5e2bc539a27b0d7322f20466134f.tar.gz
tcl-ea654cca69bc5e2bc539a27b0d7322f20466134f.tar.bz2
merge trunk
remove some EXTERN and CONST usages in tclUnixPort.h
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r--unix/tclUnixPort.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index 0aa765a..32d14e1 100644
--- a/unix/tclUnixPort.h
+++ b/unix/tclUnixPort.h
@@ -283,7 +283,7 @@ MODULE_SCOPE int TclUnixSetBlockingMode(int fd, int mode);
#endif
#ifdef GETTOD_NOT_DECLARED
-EXTERN int gettimeofday (struct timeval *tp,
+extern int gettimeofday (struct timeval *tp,
struct timezone *tzp);
#endif
@@ -627,8 +627,6 @@ typedef int socklen_t;
#ifdef TCL_THREADS
# include <pthread.h>
-EXTERN struct tm *TclpLocaltime(CONST time_t *);
-EXTERN struct tm *TclpGmtime(CONST time_t *);
/* #define localtime(x) TclpLocaltime(x)
* #define gmtime(x) TclpGmtime(x) */
# undef inet_ntoa
@@ -646,7 +644,7 @@ EXTERN struct tm *TclpGmtime(CONST time_t *);
# ifdef HAVE_PTHREAD_GETATTR_NP
# define TclpPthreadGetAttrs pthread_getattr_np
# ifdef GETATTRNP_NOT_DECLARED
-EXTERN int pthread_getattr_np (pthread_t, pthread_attr_t *);
+extern int pthread_getattr_np (pthread_t, pthread_attr_t *);
# endif
# endif /* HAVE_PTHREAD_GETATTR_NP */
# endif /* HAVE_PTHREAD_ATTR_GET_NP */