diff options
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libc/time/ctime.c | 9 |
2 files changed, 9 insertions, 4 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 7c6458e..90e5604 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2002-09-24 Jeff Johnston <jjohnstn@redhat.com> + + * libc/time/ctime.c: Fix prototype documentation. + 2002-09-24 Corinna Vinschen <corinna@vinschen.de> * libc/include/sys/errno.h: Add EOVERFLOW. diff --git a/newlib/libc/time/ctime.c b/newlib/libc/time/ctime.c index e8ccc14..63954c6 100644 --- a/newlib/libc/time/ctime.c +++ b/newlib/libc/time/ctime.c @@ -12,15 +12,16 @@ INDEX ANSI_SYNOPSIS #include <time.h> - 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 <time.h> char *ctime(<[clock]>) - time_t <[clock]>; + time_t *<[clock]>; + char *ctime_r(<[clock]>, <[buf]>) - time_t <[clock]>; + time_t *<[clock]>; char *<[buf]>; DESCRIPTION |