diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-06-29 15:28:36 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-06-29 15:28:36 (GMT) |
commit | 964477ea367a07c99f36ff8dd83af5be6ad23a6e (patch) | |
tree | 45c99d49da58a2bc779003cada3433f80398197e /unix/dltest/pkgc.c | |
parent | 88fc841203408d81942346c602bc76dd7a97fc3b (diff) | |
download | tcl-964477ea367a07c99f36ff8dd83af5be6ad23a6e.zip tcl-964477ea367a07c99f36ff8dd83af5be6ad23a6e.tar.gz tcl-964477ea367a07c99f36ff8dd83af5be6ad23a6e.tar.bz2 |
Eliminate internal use of TCL_STORAGE_CLASS, as it will be gone in 9.0 anyway
Diffstat (limited to 'unix/dltest/pkgc.c')
-rw-r--r-- | unix/dltest/pkgc.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/unix/dltest/pkgc.c b/unix/dltest/pkgc.c index 557f21b..48e4d2a 100644 --- a/unix/dltest/pkgc.c +++ b/unix/dltest/pkgc.c @@ -15,14 +15,6 @@ #include "tcl.h" /* - * TCL_STORAGE_CLASS is set unconditionally to DLLEXPORT because the - * Pkgc_Init declaration is in the source file itself, which is only - * accessed when we are building a library. - */ -#undef TCL_STORAGE_CLASS -#define TCL_STORAGE_CLASS DLLEXPORT - -/* * Prototypes for procedures defined later in this file: */ @@ -114,7 +106,7 @@ Pkgc_UnsafeObjCmd( *---------------------------------------------------------------------- */ -EXTERN int +DLLEXPORT int Pkgc_Init( Tcl_Interp *interp) /* Interpreter in which the package is to be * made available. */ @@ -151,7 +143,7 @@ Pkgc_Init( *---------------------------------------------------------------------- */ -EXTERN int +DLLEXPORT int Pkgc_SafeInit( Tcl_Interp *interp) /* Interpreter in which the package is to be * made available. */ |