diff options
author | nijtmans <nijtmans> | 2010-02-22 23:31:41 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-02-22 23:31:41 (GMT) |
commit | 718a26fe2a6c218477b2486bcc3d014df7b559fa (patch) | |
tree | e6177ca61b1da75b2580be08eb4087ac9b62e192 /unix/tclUnixPort.h | |
parent | b3ceb866eec8e0f9dbde55f024efb248732602ca (diff) | |
download | tcl-718a26fe2a6c218477b2486bcc3d014df7b559fa.zip tcl-718a26fe2a6c218477b2486bcc3d014df7b559fa.tar.gz tcl-718a26fe2a6c218477b2486bcc3d014df7b559fa.tar.bz2 |
Remove unnecessary EXTERN's, which already
are in the global stub table.
Use @EXEEXT@ in stead of @EXT_SUFFIX@
Use -DBUILD_tcl in Makefile for CYGWIN
Use EXTERN to control CYGWIN exported symbols
Remove some unnecessary type casts.
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r-- | unix/tclUnixPort.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h index f740c48..237224e 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.70 2009/07/22 19:54:50 nijtmans Exp $ + * RCS: @(#) $Id: tclUnixPort.h,v 1.71 2010/02/22 23:31:41 nijtmans Exp $ */ #ifndef _TCLUNIXPORT @@ -251,7 +251,7 @@ MODULE_SCOPE int TclUnixSetBlockingMode(int fd, int mode); #endif #ifdef GETTOD_NOT_DECLARED -EXTERN int gettimeofday(struct timeval *tp, struct timezone *tzp); +MODULE_SCOPE int gettimeofday(struct timeval *tp, struct timezone *tzp); #endif /* @@ -588,11 +588,6 @@ typedef int socklen_t; #define TclpExit exit #ifdef TCL_THREADS -EXTERN struct tm * TclpLocaltime(const time_t *); -EXTERN struct tm * TclpGmtime(const time_t *); -EXTERN char * TclpInetNtoa(struct in_addr); -/* #define localtime(x) TclpLocaltime(x) - * #define gmtime(x) TclpGmtime(x) */ # undef inet_ntoa # define inet_ntoa(x) TclpInetNtoa(x) #endif /* TCL_THREADS */ |