summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-26 19:42:20 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-26 19:42:20 (GMT)
commitefeae981600cc17e5c9b076cf767c7e9a1efcfd8 (patch)
tree0ccbd8c5625ed6f1c511e8a001f9428dc9f1d212 /unix
parent4ff4797d7f983f119eb1f4df6b88bcf5850331a9 (diff)
parentcd9e8f06c4f0e83231558995f26f7c02bdab2ac9 (diff)
downloadtcl-efeae981600cc17e5c9b076cf767c7e9a1efcfd8.zip
tcl-efeae981600cc17e5c9b076cf767c7e9a1efcfd8.tar.gz
tcl-efeae981600cc17e5c9b076cf767c7e9a1efcfd8.tar.bz2
get rid of _ANSI_ARGS_
Diffstat (limited to 'unix')
-rw-r--r--unix/tclAppInit.c8
-rw-r--r--unix/tclUnixPort.h6
2 files changed, 7 insertions, 7 deletions
diff --git a/unix/tclAppInit.c b/unix/tclAppInit.c
index b9c64b1..dac782b 100644
--- a/unix/tclAppInit.c
+++ b/unix/tclAppInit.c
@@ -26,8 +26,8 @@ extern Tcl_PackageInitProc Tcltest_Init;
#endif /* TCL_TEST */
#ifdef TCL_XT_TEST
-extern void XtToolkitInitialize _ANSI_ARGS_((void));
-extern int Tclxttest_Init _ANSI_ARGS_((Tcl_Interp *interp));
+extern void XtToolkitInitialize (void);
+extern int Tclxttest_Init (Tcl_Interp *interp);
#endif
/*
@@ -62,7 +62,7 @@ main(
#ifndef TCL_LOCAL_APPINIT
#define TCL_LOCAL_APPINIT Tcl_AppInit
#endif
- extern int TCL_LOCAL_APPINIT _ANSI_ARGS_((Tcl_Interp *interp));
+ extern int TCL_LOCAL_APPINIT (Tcl_Interp *interp);
/*
* The following #if block allows you to change how Tcl finds the startup
@@ -71,7 +71,7 @@ main(
*/
#ifdef TCL_LOCAL_MAIN_HOOK
- extern int TCL_LOCAL_MAIN_HOOK _ANSI_ARGS_((int *argc, char ***argv));
+ extern int TCL_LOCAL_MAIN_HOOK (int *argc, char ***argv);
#endif
#ifdef TCL_XT_TEST
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index 0b767d6..5abe602 100644
--- a/unix/tclUnixPort.h
+++ b/unix/tclUnixPort.h
@@ -259,8 +259,8 @@ MODULE_SCOPE int TclUnixSetBlockingMode(int fd, int mode);
#endif
#ifdef GETTOD_NOT_DECLARED
-EXTERN int gettimeofday _ANSI_ARGS_((struct timeval *tp,
- struct timezone *tzp));
+EXTERN int gettimeofday (struct timeval *tp,
+ struct timezone *tzp);
#endif
/*
@@ -622,7 +622,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 _ANSI_ARGS_((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 */