diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2002-09-24 21:26:45 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2002-09-24 21:26:45 +0000 |
commit | 6e1dfd2d96fd0698e0c3ddf9d08299653d08d2c9 (patch) | |
tree | 035175ae617f3884b76313370e0912c528c04fa4 /newlib | |
parent | f4b098d95efc7d20fc02bf54987c8de8cc1cccef (diff) | |
download | newlib-6e1dfd2d96fd0698e0c3ddf9d08299653d08d2c9.zip newlib-6e1dfd2d96fd0698e0c3ddf9d08299653d08d2c9.tar.gz newlib-6e1dfd2d96fd0698e0c3ddf9d08299653d08d2c9.tar.bz2 |
2002-09-24 Jeff Johnston <jjohnstn@redhat.com>
* libc/time/ctime.c: Fix prototype documentation.
Diffstat (limited to 'newlib')
-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 |