From 5aa2434de0a495a4df5af91f257fc6a8037fec5b Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Thu, 30 Nov 2017 02:22:31 -0600 Subject: time: remove TRAD_SYNOPSIS Signed-off-by: Yaakov Selkowitz --- newlib/libc/time/asctime.c | 10 +--------- newlib/libc/time/clock.c | 6 +----- newlib/libc/time/ctime.c | 11 +---------- newlib/libc/time/difftime.c | 8 +------- newlib/libc/time/gmtime.c | 10 +--------- newlib/libc/time/lcltime.c | 10 +--------- newlib/libc/time/mktime.c | 7 +------ newlib/libc/time/strftime.c | 10 +--------- newlib/libc/time/time.c | 7 +------ newlib/libc/time/tzlock.c | 6 +----- newlib/libc/time/tzset.c | 8 +------- newlib/libc/time/wcsftime.c | 2 +- 12 files changed, 12 insertions(+), 83 deletions(-) (limited to 'newlib/libc/time') diff --git a/newlib/libc/time/asctime.c b/newlib/libc/time/asctime.c index f56b511..b9345f5 100644 --- a/newlib/libc/time/asctime.c +++ b/newlib/libc/time/asctime.c @@ -19,19 +19,11 @@ INDEX INDEX _asctime_r -ANSI_SYNOPSIS +SYNOPSIS #include char *asctime(const struct tm *<[clock]>); char *_asctime_r(const struct tm *<[clock]>, char *<[buf]>); -TRAD_SYNOPSIS - #include - char *asctime(<[clock]>) - struct tm *<[clock]>; - char *asctime_r(<[clock]>) - struct tm *<[clock]>; - char *<[buf]>; - DESCRIPTION Format the time value at <[clock]> into a string of the form . Wed Jun 15 11:38:07 1988\n\0 diff --git a/newlib/libc/time/clock.c b/newlib/libc/time/clock.c index 0bcfbb6..53ca208 100644 --- a/newlib/libc/time/clock.c +++ b/newlib/libc/time/clock.c @@ -25,14 +25,10 @@ FUNCTION INDEX clock -ANSI_SYNOPSIS +SYNOPSIS #include clock_t clock(void); -TRAD_SYNOPSIS - #include - clock_t clock(); - DESCRIPTION Calculates the best available approximation of the cumulative amount of time used by your program since it started. To convert the result diff --git a/newlib/libc/time/ctime.c b/newlib/libc/time/ctime.c index df070a8..160eb99 100644 --- a/newlib/libc/time/ctime.c +++ b/newlib/libc/time/ctime.c @@ -12,20 +12,11 @@ INDEX INDEX ctime_r -ANSI_SYNOPSIS +SYNOPSIS #include char *ctime(const time_t *<[clock]>); char *ctime_r(const time_t *<[clock]>, char *<[buf]>); -TRAD_SYNOPSIS - #include - char *ctime(<[clock]>) - time_t *<[clock]>; - - char *ctime_r(<[clock]>, <[buf]>) - time_t *<[clock]>; - char *<[buf]>; - DESCRIPTION Convert the time value at <[clock]> to local time (like <>) and format it into a string of the form diff --git a/newlib/libc/time/difftime.c b/newlib/libc/time/difftime.c index de6ffdb..893fa47 100644 --- a/newlib/libc/time/difftime.c +++ b/newlib/libc/time/difftime.c @@ -10,16 +10,10 @@ FUNCTION INDEX difftime -ANSI_SYNOPSIS +SYNOPSIS #include double difftime(time_t <[tim1]>, time_t <[tim2]>); -TRAD_SYNOPSIS - #include - double difftime(<[tim1]>, <[tim2]>) - time_t <[tim1]>; - time_t <[tim2]>; - DESCRIPTION Subtracts the two times in the arguments: `<<<[tim1]> - <[tim2]>>>'. diff --git a/newlib/libc/time/gmtime.c b/newlib/libc/time/gmtime.c index 141d203..c62a212 100644 --- a/newlib/libc/time/gmtime.c +++ b/newlib/libc/time/gmtime.c @@ -17,19 +17,11 @@ INDEX INDEX gmtime_r -ANSI_SYNOPSIS +SYNOPSIS #include struct tm *gmtime(const time_t *<[clock]>); struct tm *gmtime_r(const time_t *<[clock]>, struct tm *<[res]>); -TRAD_SYNOPSIS - #include - struct tm *gmtime(<[clock]>) - const time_t *<[clock]>; - struct tm *gmtime_r(<[clock]>, <[res]>) - const time_t *<[clock]>; - struct tm *<[res]>; - DESCRIPTION <> takes the time at <[clock]> representing the number of elapsed seconds since 00:00:00 on January 1, 1970, Universal diff --git a/newlib/libc/time/lcltime.c b/newlib/libc/time/lcltime.c index 2c9a25f..0129335 100644 --- a/newlib/libc/time/lcltime.c +++ b/newlib/libc/time/lcltime.c @@ -11,19 +11,11 @@ INDEX INDEX localtime_r -ANSI_SYNOPSIS +SYNOPSIS #include struct tm *localtime(time_t *<[clock]>); struct tm *localtime_r(time_t *<[clock]>, struct tm *<[res]>); -TRAD_SYNOPSIS - #include - struct tm *localtime(<[clock]>) - time_t *<[clock]>; - struct tm *localtime(<[clock]>, <[res]>) - time_t *<[clock]>; - struct tm *<[res]>; - DESCRIPTION <> converts the time at <[clock]> into local time, then converts its representation from the arithmetic representation to the diff --git a/newlib/libc/time/mktime.c b/newlib/libc/time/mktime.c index 44c0257..4849ea4 100644 --- a/newlib/libc/time/mktime.c +++ b/newlib/libc/time/mktime.c @@ -20,15 +20,10 @@ FUNCTION INDEX mktime -ANSI_SYNOPSIS +SYNOPSIS #include time_t mktime(struct tm *<[timp]>); -TRAD_SYNOPSIS - #include - time_t mktime(<[timp]>) - struct tm *<[timp]>; - DESCRIPTION <> assumes the time at <[timp]> is a local time, and converts its representation from the traditional representation defined by diff --git a/newlib/libc/time/strftime.c b/newlib/libc/time/strftime.c index 3823180..cf426d6 100644 --- a/newlib/libc/time/strftime.c +++ b/newlib/libc/time/strftime.c @@ -25,7 +25,7 @@ INDEX INDEX strftime_l -ANSI_SYNOPSIS +SYNOPSIS #include size_t strftime(char *restrict <[s]>, size_t <[maxsize]>, const char *restrict <[format]>, @@ -35,14 +35,6 @@ ANSI_SYNOPSIS const struct tm *restrict <[timp]>, locale_t <[locale]>); -TRAD_SYNOPSIS - #include - size_t strftime(<[s]>, <[maxsize]>, <[format]>, <[timp]>) - char *<[s]>; - size_t <[maxsize]>; - char *<[format]>; - struct tm *<[timp]>; - DESCRIPTION <> converts a <> representation of the time (at <[timp]>) into a null-terminated string, starting at <[s]> and occupying diff --git a/newlib/libc/time/time.c b/newlib/libc/time/time.c index 9de71d4..e0c3a8e 100644 --- a/newlib/libc/time/time.c +++ b/newlib/libc/time/time.c @@ -5,15 +5,10 @@ FUNCTION INDEX time -ANSI_SYNOPSIS +SYNOPSIS #include time_t time(time_t *<[t]>); -TRAD_SYNOPSIS - #include - time_t time(<[t]>) - time_t *<[t]>; - DESCRIPTION <