Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-09-25 01:26:45 +0400
committerJeff Johnston <jjohnstn@redhat.com>2002-09-25 01:26:45 +0400
commit6e1dfd2d96fd0698e0c3ddf9d08299653d08d2c9 (patch)
tree035175ae617f3884b76313370e0912c528c04fa4
parentf4b098d95efc7d20fc02bf54987c8de8cc1cccef (diff)
2002-09-24 Jeff Johnston <jjohnstn@redhat.com>
* libc/time/ctime.c: Fix prototype documentation.
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/time/ctime.c9
2 files changed, 9 insertions, 4 deletions
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 <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 e8ccc144a..63954c640 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