summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixTime.c
diff options
context:
space:
mode:
authorredman <redman@noemail.net>1999-07-22 01:08:02 (GMT)
committerredman <redman@noemail.net>1999-07-22 01:08:02 (GMT)
commitd2493ea3677d215d260840749e95a0f7f316ce69 (patch)
tree5dbfa8778122c25040f24668b6e635cf0ab23b40 /unix/tclUnixTime.c
parentf855f19daf93e33664d965a351af50ec4cd18cd2 (diff)
downloadtcl-d2493ea3677d215d260840749e95a0f7f316ce69.zip
tcl-d2493ea3677d215d260840749e95a0f7f316ce69.tar.gz
tcl-d2493ea3677d215d260840749e95a0f7f316ce69.tar.bz2
* doc/Utf.3:
* generic/tcl.decls: * generic/tclInt.decls: * generic/tclDecls.h: * generic/tclIntDecls.h: * generic/tclUtf.c: * compat/strftime.c: * unix/tclUnixTime.c: Changed function declarations in non-platform-specific APIs to use "unsigned long" instead of "size_t", which may not be defined on certain compilers (rather than include sys/types.h, which may not exist). FossilOrigin-Name: 22b143003b180eaed3b7f8c9bad28df440ef6071
Diffstat (limited to 'unix/tclUnixTime.c')
-rw-r--r--unix/tclUnixTime.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclUnixTime.c b/unix/tclUnixTime.c
index 9427999..853ab2c 100644
--- a/unix/tclUnixTime.c
+++ b/unix/tclUnixTime.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclUnixTime.c,v 1.4 1999/04/16 00:48:06 stanton Exp $
+ * RCS: @(#) $Id: tclUnixTime.c,v 1.5 1999/07/22 01:08:05 redman Exp $
*/
#include "tclInt.h"
@@ -288,12 +288,12 @@ TclpGetDate(time, useGMT)
*----------------------------------------------------------------------
*/
-size_t
+unsigned long
TclpStrftime(s, maxsize, format, t)
char *s;
size_t maxsize;
CONST char *format;
CONST struct tm *t;
{
- return strftime(s, maxsize, format, t);
+ return (unsigned long) strftime(s, maxsize, format, t);
}