summaryrefslogtreecommitdiffstats
path: root/generic/tclClock.c
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2017-01-10 22:59:16 (GMT)
committersebres <sebres@users.sourceforge.net>2017-01-10 22:59:16 (GMT)
commit1adb7a5b43634186dbc9ecbd86aac53f45cdcd3c (patch)
tree7b8b241cc96af93d17bfdff4e31d026831ba3e82 /generic/tclClock.c
parentba4330456f8bb2e2c45c3dfd27f9e7ce1cdaeb52 (diff)
downloadtcl-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/tclClock.c')
-rw-r--r--generic/tclClock.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclClock.c b/generic/tclClock.c
index a417758..a324b65 100644
--- a/generic/tclClock.c
+++ b/generic/tclClock.c
@@ -336,7 +336,7 @@ ClockDeleteCmdProc(
/*
*----------------------------------------------------------------------
*/
-inline Tcl_Obj *
+static inline Tcl_Obj *
NormTimezoneObj(
ClockClientData *dataPtr, /* Client data containing literal pool */
Tcl_Obj *timezoneObj)
@@ -383,7 +383,7 @@ NormTimezoneObj(
/*
*----------------------------------------------------------------------
*/
-inline Tcl_Obj *
+static inline Tcl_Obj *
ClockGetSystemLocale(
ClockClientData *dataPtr, /* Opaque pointer to literal pool, etc. */
Tcl_Interp *interp) /* Tcl interpreter */
@@ -397,7 +397,7 @@ ClockGetSystemLocale(
/*
*----------------------------------------------------------------------
*/
-inline Tcl_Obj *
+static inline Tcl_Obj *
ClockGetCurrentLocale(
ClockClientData *dataPtr, /* Client data containing literal pool */
Tcl_Interp *interp) /* Tcl interpreter */
@@ -782,7 +782,7 @@ ClockConfigureObjCmd(
/*
*----------------------------------------------------------------------
*/
-inline Tcl_Obj*
+static inline Tcl_Obj *
ClockGetTZData(
ClientData clientData, /* Opaque pointer to literal pool, etc. */
Tcl_Interp *interp, /* Tcl interpreter */