summaryrefslogtreecommitdiffstats
path: root/generic/tclClock.c
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2017-01-10 22:55:00 (GMT)
committersebres <sebres@users.sourceforge.net>2017-01-10 22:55:00 (GMT)
commit711d1c6a2168db11f4a5157d4cb75d5f9382ef6a (patch)
tree14b9a27f83476e1ea3f1d677905ab3bca2f2182e /generic/tclClock.c
parentc0770e6442035a91d2d3d60624071e44cb6c7950 (diff)
downloadtcl-711d1c6a2168db11f4a5157d4cb75d5f9382ef6a.zip
tcl-711d1c6a2168db11f4a5157d4cb75d5f9382ef6a.tar.gz
tcl-711d1c6a2168db11f4a5157d4cb75d5f9382ef6a.tar.bz2
[unix] build for *nix fixed, code clean-ups; missing declarations; unused vars, functions etc; types normalization;
Diffstat (limited to 'generic/tclClock.c')
-rw-r--r--generic/tclClock.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/generic/tclClock.c b/generic/tclClock.c
index 7d4263c..1b1faae 100644
--- a/generic/tclClock.c
+++ b/generic/tclClock.c
@@ -137,10 +137,6 @@ static unsigned long TzsetGetEpoch(void);
static void TzsetIfNecessary(void);
static void ClockDeleteCmdProc(ClientData);
-static int ClockTestObjCmd(
- ClientData clientData, Tcl_Interp *interp,
- int objc, Tcl_Obj *const objv[]);
-
/*
* Structure containing description of "native" clock commands to create.
*/
@@ -3365,7 +3361,7 @@ repeat_rel:
/* relative time (seconds), if exceeds current date, do the day conversion and
* leave rest of the increment in yyRelSeconds to add it hereafter in UTC seconds */
if (yyRelSeconds) {
- time_t newSecs = yySeconds + yyRelSeconds;
+ int newSecs = yySeconds + yyRelSeconds;
/* if seconds increment outside of current date, increment day */
if (newSecs / SECONDS_PER_DAY != yySeconds / SECONDS_PER_DAY) {