From: Jeff Johnston Date: Tue, 24 Sep 2002 21:26:45 +0000 (+0000) Subject: 2002-09-24 Jeff Johnston X-Git-Tag: cygwin-1-3-19-1-branchpoint~4 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=6e1dfd2d96fd0698e0c3ddf9d08299653d08d2c9;p=newlib-cygwin.git 2002-09-24 Jeff Johnston * libc/time/ctime.c: Fix prototype documentation. --- diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 7c6458e4b..90e5604d9 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2002-09-24 Jeff Johnston + + * libc/time/ctime.c: Fix prototype documentation. + 2002-09-24 Corinna Vinschen * libc/include/sys/errno.h: Add EOVERFLOW. diff --git a/newlib/libc/time/ctime.c b/newlib/libc/time/ctime.c index e8ccc144a..63954c640 100644 --- a/newlib/libc/time/ctime.c +++ b/newlib/libc/time/ctime.c @@ -12,15 +12,16 @@ INDEX ANSI_SYNOPSIS #include - char *ctime(time_t <[clock]>); - char *ctime_r(time_t <[clock]>, char *<[buf]>); + char *ctime(const time_t *<[clock]>); + char *ctime_r(const time_t *<[clock]>, char *<[buf]>); TRAD_SYNOPSIS #include char *ctime(<[clock]>) - time_t <[clock]>; + time_t *<[clock]>; + char *ctime_r(<[clock]>, <[buf]>) - time_t <[clock]>; + time_t *<[clock]>; char *<[buf]>; DESCRIPTION