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 | bbccbfba7b9080ce0a137da9100b3ee550cdea41 (patch) | |
tree | 45c99d49da58a2bc779003cada3433f80398197e /unix/dltest/pkge.c | |
parent | b2522c9c24b283a616ac38c4c987827c4fa86167 (diff) | |
download | tcl-bbccbfba7b9080ce0a137da9100b3ee550cdea41.zip tcl-bbccbfba7b9080ce0a137da9100b3ee550cdea41.tar.gz tcl-bbccbfba7b9080ce0a137da9100b3ee550cdea41.tar.bz2 |
Eliminate internal use of TCL_STORAGE_CLASS, as it will be gone in 9.0 anyway
Diffstat (limited to 'unix/dltest/pkge.c')
-rw-r--r-- | unix/dltest/pkge.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/unix/dltest/pkge.c b/unix/dltest/pkge.c index 395cd0e..7160d90 100644 --- a/unix/dltest/pkge.c +++ b/unix/dltest/pkge.c @@ -13,15 +13,6 @@ #undef STATIC_BUILD #include "tcl.h" - -/* - * TCL_STORAGE_CLASS is set unconditionally to DLLEXPORT because the - * Pkge_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 - /* *---------------------------------------------------------------------- @@ -40,7 +31,7 @@ *---------------------------------------------------------------------- */ -EXTERN int +DLLEXPORT int Pkge_Init( Tcl_Interp *interp) /* Interpreter in which the package is to be * made available. */ |