diff options
author | sebres <sebres@users.sourceforge.net> | 2017-01-10 22:59:16 (GMT) |
---|---|---|
committer | sebres <sebres@users.sourceforge.net> | 2017-01-10 22:59:16 (GMT) |
commit | 1adb7a5b43634186dbc9ecbd86aac53f45cdcd3c (patch) | |
tree | 7b8b241cc96af93d17bfdff4e31d026831ba3e82 /generic/tclEnv.c | |
parent | ba4330456f8bb2e2c45c3dfd27f9e7ce1cdaeb52 (diff) | |
download | tcl-1adb7a5b43634186dbc9ecbd86aac53f45cdcd3c.zip tcl-1adb7a5b43634186dbc9ecbd86aac53f45cdcd3c.tar.gz tcl-1adb7a5b43634186dbc9ecbd86aac53f45cdcd3c.tar.bz2 |
[unix] resolving of several warnings (gcc 5.x):
- static used in non-static inline function;
- x64 int cast on pointer [-Wpointer-to-int-cast];
- (obscure) may be used uninitialized in this function [-Wmaybe-uninitialized];
- TclEnvEpoch initialized and declared extern;
Diffstat (limited to 'generic/tclEnv.c')
-rw-r--r-- | generic/tclEnv.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclEnv.c b/generic/tclEnv.c index fd0a8ce..0041a40 100644 --- a/generic/tclEnv.c +++ b/generic/tclEnv.c @@ -18,8 +18,9 @@ TCL_DECLARE_MUTEX(envMutex) /* To serialize access to environ. */ -MODULE_SCOPE unsigned long TclEnvEpoch = 0; /* Epoch of the tcl environment - * (if changed with tcl-env). */ +/* MODULE_SCOPE */ +unsigned long TclEnvEpoch = 0; /* Epoch of the tcl environment + * (if changed with tcl-env). */ static struct { int cacheSize; /* Number of env strings in cache. */ |