diff options
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; |