summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorredman <redman>1999-07-22 01:08:03 (GMT)
committerredman <redman>1999-07-22 01:08:03 (GMT)
commit54b6980992593dd026c12db3f5aaef9dce67e0e3 (patch)
tree5dbfa8778122c25040f24668b6e635cf0ab23b40 /unix
parent0921ebbcedf454aec8e95005807f6f564f812299 (diff)
downloadtcl-54b6980992593dd026c12db3f5aaef9dce67e0e3.zip
tcl-54b6980992593dd026c12db3f5aaef9dce67e0e3.tar.gz
tcl-54b6980992593dd026c12db3f5aaef9dce67e0e3.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).
Diffstat (limited to 'unix')
-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);
}