diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-08 22:19:46 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-08 22:19:46 (GMT) |
commit | d965535fda1022e02c618349271e8ec7a26dccde (patch) | |
tree | 94fa59472e6b2a0ef3c3cc97ffe115103e66977d /unix | |
parent | 79fa64792bbab42e97785552b9a9cf75fa126695 (diff) | |
parent | b9eb35ddebc45ca5424bb3c24d03c3585ba6030f (diff) | |
download | tk-d965535fda1022e02c618349271e8ec7a26dccde.zip tk-d965535fda1022e02c618349271e8ec7a26dccde.tar.gz tk-d965535fda1022e02c618349271e8ec7a26dccde.tar.bz2 |
eliminate some ANSI_ARGS
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tkAppInit.c | 6 | ||||
-rw-r--r-- | unix/tkUnixXId.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/unix/tkAppInit.c b/unix/tkAppInit.c index 050e226..422b9e1 100644 --- a/unix/tkAppInit.c +++ b/unix/tkAppInit.c @@ -15,7 +15,7 @@ #include "locale.h" #ifdef TK_TEST -extern int Tktest_Init _ANSI_ARGS_((Tcl_Interp *interp)); +extern int Tktest_Init(Tcl_Interp *interp); #endif /* TK_TEST */ /* @@ -50,7 +50,7 @@ main( #ifndef TK_LOCAL_APPINIT #define TK_LOCAL_APPINIT Tcl_AppInit #endif - extern int TK_LOCAL_APPINIT _ANSI_ARGS_((Tcl_Interp *interp)); + extern int TK_LOCAL_APPINIT (Tcl_Interp *interp); /* * The following #if block allows you to change how Tcl finds the startup @@ -59,7 +59,7 @@ main( */ #ifdef TK_LOCAL_MAIN_HOOK - extern int TK_LOCAL_MAIN_HOOK _ANSI_ARGS_((int *argc, char ***argv)); + extern int TK_LOCAL_MAIN_HOOK (int *argc, char ***argv); TK_LOCAL_MAIN_HOOK(&argc, &argv); #endif diff --git a/unix/tkUnixXId.c b/unix/tkUnixXId.c index 928c4d5..ca2eb33 100644 --- a/unix/tkUnixXId.c +++ b/unix/tkUnixXId.c @@ -74,7 +74,7 @@ TkInitXId( TkDisplay *dispPtr) /* Tk's information about the display. */ { dispPtr->idStackPtr = NULL; - dispPtr->defaultAllocProc = (XID (*) _ANSI_ARGS_((Display *display))) + dispPtr->defaultAllocProc = (XID (*) (Display *display)) dispPtr->display->resource_alloc; dispPtr->display->resource_alloc = AllocXId; dispPtr->windowStackPtr = NULL; |