diff options
Diffstat (limited to 'src/time')
| -rw-r--r-- | src/time/asctime.c | 2 | ||||
| -rw-r--r-- | src/time/asctime_s.c | 2 | ||||
| -rw-r--r-- | src/time/clock.c | 2 | ||||
| -rw-r--r-- | src/time/ctime.c | 2 | ||||
| -rw-r--r-- | src/time/ctime_s.c | 2 | ||||
| -rw-r--r-- | src/time/difftime.c | 2 | ||||
| -rw-r--r-- | src/time/gmtime.c | 2 | ||||
| -rw-r--r-- | src/time/gmtime_s.c | 2 | ||||
| -rw-r--r-- | src/time/localtime.c | 2 | ||||
| -rw-r--r-- | src/time/localtime_s.c | 2 | ||||
| -rw-r--r-- | src/time/mktime.c | 2 | ||||
| -rw-r--r-- | src/time/strftime.c | 2 | ||||
| -rw-r--r-- | src/time/time.c | 2 | ||||
| -rw-r--r-- | src/time/timespec_get.c | 2 |
14 files changed, 14 insertions, 14 deletions
diff --git a/src/time/asctime.c b/src/time/asctime.c index d87b6d8d..f3d46fad 100644 --- a/src/time/asctime.c +++ b/src/time/asctime.c @@ -40,7 +40,7 @@ char * asctime(const struct tm * timeptr) return result; } -__check_1(char *, NULL, asctime, const struct tm *) +CHECK_1(char *, NULL, asctime, const struct tm *) /*** converts the time specified at ARGUMENT(timeptr) to a string diff --git a/src/time/asctime_s.c b/src/time/asctime_s.c index 84f20cc7..9aae2a62 100644 --- a/src/time/asctime_s.c +++ b/src/time/asctime_s.c @@ -21,7 +21,7 @@ errno_t asctime_s(char *s, rsize_t maxsize, const struct tm * timeptr) return 0; } -__check_3(errno_t, 0, asctime_s, char *, rsize_t, const struct tm *) +CHECK_3(errno_t, 0, asctime_s, char *, rsize_t, const struct tm *) /*** The fn(asctime) function converts the time specified at arg(timeptr) to a string diff --git a/src/time/clock.c b/src/time/clock.c index a1ccc29d..d9fe7951 100644 --- a/src/time/clock.c +++ b/src/time/clock.c @@ -9,7 +9,7 @@ clock_t clock(void) return (clock_t)-1; } -__check_0(clock_t, 0, clock) +CHECK_0(clock_t, 0, clock) /*** returns the amount of processor time used by the current diff --git a/src/time/ctime.c b/src/time/ctime.c index 47c0fdab..e841e463 100644 --- a/src/time/ctime.c +++ b/src/time/ctime.c @@ -14,7 +14,7 @@ char * ctime(const time_t * timer) return asctime(localtime(timer)); } -__check_1(char *, NULL, ctime, const time_t *) +CHECK_1(char *, NULL, ctime, const time_t *) /*** converts the time at ARGUMENT(timer) to a string in the same format as diff --git a/src/time/ctime_s.c b/src/time/ctime_s.c index a7a68516..f54bb474 100644 --- a/src/time/ctime_s.c +++ b/src/time/ctime_s.c @@ -10,7 +10,7 @@ errno_t ctime_s(char *s, rsize_t maxsize, const time_t *timer) return 0; } -__check_3(errno_t, 0, ctime_s, char *, rsize_t, const time_t *) +CHECK_3(errno_t, 0, ctime_s, char *, rsize_t, const time_t *) /*** The fn(ctime) converts the time at arg(timer) to a string in the same format as diff --git a/src/time/difftime.c b/src/time/difftime.c index 640b9722..822a205d 100644 --- a/src/time/difftime.c +++ b/src/time/difftime.c @@ -9,7 +9,7 @@ double difftime(time_t time1, time_t time0) return (double)time1 - (double)time0; } -__check_2(double, 0.0, difftime, time_t, time_t) +CHECK_2(double, 0.0, difftime, time_t, time_t) /*** subtracts ARGUMENT(time0) from ARGUMENT(time1). diff --git a/src/time/gmtime.c b/src/time/gmtime.c index 7ce81ba2..c57ceb4b 100644 --- a/src/time/gmtime.c +++ b/src/time/gmtime.c @@ -51,7 +51,7 @@ struct tm * gmtime(const time_t * timer) return &tm; } -__check_1(struct tm *, 0, gmtime, const time_t *) +CHECK_1(struct tm *, 0, gmtime, const time_t *) /*** converts the UTC time at ARGUMENT(timer) to a filled out STRUCTDEF(tm). diff --git a/src/time/gmtime_s.c b/src/time/gmtime_s.c index 1e1bd6c1..54b1461f 100644 --- a/src/time/gmtime_s.c +++ b/src/time/gmtime_s.c @@ -11,7 +11,7 @@ struct tm * gmtime_s(const time_t * restrict timer, struct tm * restrict result) return NULL; } -__check_2(struct tm *, NULL, gmtime_s, const time_t * restrict, struct tm * restrict) +CHECK_2(struct tm *, NULL, gmtime_s, const time_t * restrict, struct tm * restrict) /*** The fn(gmtime) function converts the UTC time at arg(timer) to a filled out diff --git a/src/time/localtime.c b/src/time/localtime.c index de03da7a..3fbe174a 100644 --- a/src/time/localtime.c +++ b/src/time/localtime.c @@ -20,7 +20,7 @@ struct tm * localtime(const time_t * timer) return &tm; } -__check_1(struct tm *, NULL, localtime, const time_t *) +CHECK_1(struct tm *, NULL, localtime, const time_t *) /*** converts the locale time at ARGUMENT(timer) to a filled out STRUCTDEF(tm). diff --git a/src/time/localtime_s.c b/src/time/localtime_s.c index 4329e883..f6a11d67 100644 --- a/src/time/localtime_s.c +++ b/src/time/localtime_s.c @@ -9,7 +9,7 @@ struct tm * localtime_s(const time_t * restrict timer, struct tm * restrict resu return NULL; } -__check_2(struct tm *, NULL, localtime_s, const time_t * restrict, struct tm * restrict) +CHECK_2(struct tm *, NULL, localtime_s, const time_t * restrict, struct tm * restrict) /*** The fn(localtime) function converts the locale time at arg(timer) to a filled diff --git a/src/time/mktime.c b/src/time/mktime.c index 60a8cfc7..20b584f4 100644 --- a/src/time/mktime.c +++ b/src/time/mktime.c @@ -79,7 +79,7 @@ time_t mktime(struct tm * timeptr) + timeptr->tm_sec; } -__check_1(time_t, 0, mktime, struct tm *) +CHECK_1(time_t, 0, mktime, struct tm *) /*** converts the local time pointed to by ARGUMENT(timeptr) to diff --git a/src/time/strftime.c b/src/time/strftime.c index fe3017fc..ace27f8c 100644 --- a/src/time/strftime.c +++ b/src/time/strftime.c @@ -156,7 +156,7 @@ size_t strftime(char * restrict s, size_t maxsize, const char * restrict format, return converted; } -__check_4(size_t, 0, strftime, char * restrict, size_t, const char * restrict, const struct tm *) +CHECK_4(size_t, 0, strftime, char * restrict, size_t, const char * restrict, const struct tm *) /*** converts the time at ARGUMENT(timeptr) to a string of no more than diff --git a/src/time/time.c b/src/time/time.c index c2a1dcc8..279f5110 100644 --- a/src/time/time.c +++ b/src/time/time.c @@ -21,7 +21,7 @@ time_t time(time_t * timer) return (time_t)now; } -__check_1(time_t, 0, time, time_t *) +CHECK_1(time_t, 0, time, time_t *) /*** gets the current time. If ARGUMENT(timer) is not CONSTANT(NULL), diff --git a/src/time/timespec_get.c b/src/time/timespec_get.c index 25f3a319..0fce24df 100644 --- a/src/time/timespec_get.c +++ b/src/time/timespec_get.c @@ -8,7 +8,7 @@ int timespec_get(struct timespec *ts, int base) return base; } -__check_2(int, 0, timespec_get, struct timespec *, int) +CHECK_2(int, 0, timespec_get, struct timespec *, int) /* STDC(201112) |
