aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/time
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/time')
-rw-r--r--newlib/libc/time/asctime_r.c2
-rw-r--r--newlib/libc/time/ctime_r.c2
-rw-r--r--newlib/libc/time/difftime.c2
-rw-r--r--newlib/libc/time/gmtime_r.c2
-rw-r--r--newlib/libc/time/lcltime_r.c2
-rw-r--r--newlib/libc/time/strftime.c6
6 files changed, 8 insertions, 8 deletions
diff --git a/newlib/libc/time/asctime_r.c b/newlib/libc/time/asctime_r.c
index 2ec5369..c38e32f 100644
--- a/newlib/libc/time/asctime_r.c
+++ b/newlib/libc/time/asctime_r.c
@@ -7,7 +7,7 @@
char *
_DEFUN (asctime_r, (tim_p, result),
- _CONST struct tm *__restrict tim_p _AND
+ _CONST struct tm *__restrict tim_p,
char *__restrict result)
{
static _CONST char day_name[7][3] = {
diff --git a/newlib/libc/time/ctime_r.c b/newlib/libc/time/ctime_r.c
index fda8cac..3546142 100644
--- a/newlib/libc/time/ctime_r.c
+++ b/newlib/libc/time/ctime_r.c
@@ -6,7 +6,7 @@
char *
_DEFUN (ctime_r, (tim_p, result),
- _CONST time_t * tim_p _AND
+ _CONST time_t * tim_p,
char * result)
{
diff --git a/newlib/libc/time/difftime.c b/newlib/libc/time/difftime.c
index 893fa47..363eb64 100644
--- a/newlib/libc/time/difftime.c
+++ b/newlib/libc/time/difftime.c
@@ -31,7 +31,7 @@ in all implementations.
double
_DEFUN (difftime, (tim1, tim2),
- time_t tim1 _AND
+ time_t tim1,
time_t tim2)
{
return (double)(tim1 - tim2);
diff --git a/newlib/libc/time/gmtime_r.c b/newlib/libc/time/gmtime_r.c
index 6475df3..01f95eb 100644
--- a/newlib/libc/time/gmtime_r.c
+++ b/newlib/libc/time/gmtime_r.c
@@ -47,7 +47,7 @@
struct tm *
_DEFUN (gmtime_r, (tim_p, res),
- _CONST time_t *__restrict tim_p _AND
+ _CONST time_t *__restrict tim_p,
struct tm *__restrict res)
{
long days, rem;
diff --git a/newlib/libc/time/lcltime_r.c b/newlib/libc/time/lcltime_r.c
index 3342e99..9abf683 100644
--- a/newlib/libc/time/lcltime_r.c
+++ b/newlib/libc/time/lcltime_r.c
@@ -17,7 +17,7 @@
struct tm *
_DEFUN (localtime_r, (tim_p, res),
- _CONST time_t *__restrict tim_p _AND
+ _CONST time_t *__restrict tim_p,
struct tm *__restrict res)
{
long offset;
diff --git a/newlib/libc/time/strftime.c b/newlib/libc/time/strftime.c
index cf426d6..54df9b2 100644
--- a/newlib/libc/time/strftime.c
+++ b/newlib/libc/time/strftime.c
@@ -1432,9 +1432,9 @@ recurse:
size_t
_DEFUN (strftime, (s, maxsize, format, tim_p),
- CHAR *__restrict s _AND
- size_t maxsize _AND
- _CONST CHAR *__restrict format _AND
+ CHAR *__restrict s,
+ size_t maxsize,
+ _CONST CHAR *__restrict format,
_CONST struct tm *__restrict tim_p)
{
#ifdef _WANT_C99_TIME_FORMATS