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