summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstanton <stanton@noemail.net>1999-02-04 20:57:16 (GMT)
committerstanton <stanton@noemail.net>1999-02-04 20:57:16 (GMT)
commitbd489ea171d72563074b3d282f7dfe239d005db9 (patch)
tree0459a23cbcec93e95a6099adcc0857e42c69b553
parentcf3edc298caa7899a07491424eae43e80eafe42e (diff)
downloadtk-bd489ea171d72563074b3d282f7dfe239d005db9.zip
tk-bd489ea171d72563074b3d282f7dfe239d005db9.tar.gz
tk-bd489ea171d72563074b3d282f7dfe239d005db9.tar.bz2
* 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. FossilOrigin-Name: 3afc334c67e9e295066148c5eeca74ab9bca9c3b
-rw-r--r--generic/tkTest.c4
-rw-r--r--mac/tkMacAppInit.c12
-rw-r--r--unix/tkAppInit.c4
-rw-r--r--win/winMain.c4
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 <Gestalt.h>
@@ -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 <tk.h>
@@ -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 */