From 955ce6fbcdcca30ded10dd5bdef28603b431da7f Mon Sep 17 00:00:00 2001 From: stanton Date: Thu, 4 Feb 1999 20:57:17 +0000 Subject: * mac/tkMacAppInit.c: * generic/tkTest.c: * generic/tkAppInit.c: * win/winMain.c: Changed some EXTERN declarations to extern since they are not defining exported interfaces. This avoids generating useless declspec() attributes and makes the windows makefile simpler. --- generic/tkTest.c | 4 ++-- mac/tkMacAppInit.c | 12 ++++++------ unix/tkAppInit.c | 4 ++-- win/winMain.c | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/generic/tkTest.c b/generic/tkTest.c index e5de871..0415e67 100644 --- a/generic/tkTest.c +++ b/generic/tkTest.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkTest.c,v 1.3 1998/09/14 18:23:17 stanton Exp $ + * RCS: @(#) $Id: tkTest.c,v 1.4 1999/02/04 20:57:17 stanton Exp $ */ #include "tkInt.h" @@ -151,7 +151,7 @@ static int TestwrapperCmd _ANSI_ARGS_((ClientData dummy, * External (platform specific) initialization routine: */ -EXTERN int TkplatformtestInit _ANSI_ARGS_(( +extern int TkplatformtestInit _ANSI_ARGS_(( Tcl_Interp *interp)); #ifndef MAC_TCL #define TkplatformtestInit(x) TCL_OK diff --git a/mac/tkMacAppInit.c b/mac/tkMacAppInit.c index 00db916..5b73a65 100644 --- a/mac/tkMacAppInit.c +++ b/mac/tkMacAppInit.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacAppInit.c,v 1.4 1998/11/11 17:29:48 jingham Exp $ + * RCS: @(#) $Id: tkMacAppInit.c,v 1.5 1999/02/04 20:57:18 stanton Exp $ */ #include @@ -26,14 +26,14 @@ #include "tclMac.h" #ifdef TK_TEST -EXTERN int Tktest_Init _ANSI_ARGS_((Tcl_Interp *interp)); +extern int Tktest_Init _ANSI_ARGS_((Tcl_Interp *interp)); #endif /* TK_TEST */ #ifdef TCL_TEST -EXTERN int Procbodytest_Init _ANSI_ARGS_((Tcl_Interp *interp)); -EXTERN int Procbodytest_SafeInit _ANSI_ARGS_((Tcl_Interp *interp)); -EXTERN int TclObjTest_Init _ANSI_ARGS_((Tcl_Interp *interp)); -EXTERN int Tcltest_Init _ANSI_ARGS_((Tcl_Interp *interp)); +extern int Procbodytest_Init _ANSI_ARGS_((Tcl_Interp *interp)); +extern int Procbodytest_SafeInit _ANSI_ARGS_((Tcl_Interp *interp)); +extern int TclObjTest_Init _ANSI_ARGS_((Tcl_Interp *interp)); +extern int Tcltest_Init _ANSI_ARGS_((Tcl_Interp *interp)); #endif /* TCL_TEST */ Tcl_Interp *gStdoutInterp = NULL; diff --git a/unix/tkAppInit.c b/unix/tkAppInit.c index 59900f1..5591d98 100644 --- a/unix/tkAppInit.c +++ b/unix/tkAppInit.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkAppInit.c,v 1.2 1998/09/14 18:23:54 stanton Exp $ + * RCS: @(#) $Id: tkAppInit.c,v 1.3 1999/02/04 20:57:18 stanton Exp $ */ #include "tk.h" @@ -24,7 +24,7 @@ extern int matherr(); int *tclDummyMathPtr = (int *) matherr; #ifdef TK_TEST -EXTERN int Tktest_Init _ANSI_ARGS_((Tcl_Interp *interp)); +extern int Tktest_Init _ANSI_ARGS_((Tcl_Interp *interp)); #endif /* TK_TEST */ /* diff --git a/win/winMain.c b/win/winMain.c index 3e6bc59..12c9d34 100644 --- a/win/winMain.c +++ b/win/winMain.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: winMain.c,v 1.3 1998/09/14 18:24:02 stanton Exp $ + * RCS: @(#) $Id: winMain.c,v 1.4 1999/02/04 20:57:18 stanton Exp $ */ #include @@ -34,7 +34,7 @@ static void setargv _ANSI_ARGS_((int *argcPtr, char ***argvPtr)); static void WishPanic _ANSI_ARGS_(TCL_VARARGS(char *,format)); #ifdef TK_TEST -EXTERN int Tktest_Init(Tcl_Interp *interp); +extern int Tktest_Init(Tcl_Interp *interp); #endif /* TK_TEST */ -- cgit v0.12