diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-02-12 08:21:46 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-02-12 08:21:46 (GMT) |
commit | 9fab1147c1347a100ac883696e47aea60b64a5eb (patch) | |
tree | f58bda96fe9be0ce2f2dd2d1ff1939459dfc3a63 /generic/tclZipfs.c | |
parent | e48bb6cf385bc0ae4577630b8491f26e05ec65ce (diff) | |
download | tcl-9fab1147c1347a100ac883696e47aea60b64a5eb.zip tcl-9fab1147c1347a100ac883696e47aea60b64a5eb.tar.gz tcl-9fab1147c1347a100ac883696e47aea60b64a5eb.tar.bz2 |
Fix warning about unused symbol on --disable-shared build
Diffstat (limited to 'generic/tclZipfs.c')
-rw-r--r-- | generic/tclZipfs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/tclZipfs.c b/generic/tclZipfs.c index 65c8cc7..50653ff 100644 --- a/generic/tclZipfs.c +++ b/generic/tclZipfs.c @@ -285,7 +285,9 @@ static const char *zipfs_literal_tcl_library = NULL; static inline int DescribeMounted(Tcl_Interp *interp, const char *mountPoint); static inline int ListMountPoints(Tcl_Interp *interp); +#if !defined(STATIC_BUILD) static int ZipfsAppHookFindTclInit(const char *archive); +#endif static int ZipFSPathInFilesystemProc(Tcl_Obj *pathPtr, void **clientDataPtr); static Tcl_Obj * ZipFSFilesystemPathTypeProc(Tcl_Obj *pathPtr); @@ -4755,6 +4757,7 @@ TclZipfs_Init( #endif /* HAVE_ZLIB */ } +#if !defined(STATIC_BUILD) static int ZipfsAppHookFindTclInit( const char *archive) @@ -4791,6 +4794,7 @@ ZipfsAppHookFindTclInit( return TCL_ERROR; } +#endif static void ZipfsExitHandler( |