summaryrefslogtreecommitdiff
path: root/src/time/mktime.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-01-30 22:59:08 -0500
committerJakob Kaivo <jkk@ung.org>2024-01-30 22:59:08 -0500
commite04cf58cf3b404644b9983225ba625d656034078 (patch)
tree8238bd547c795811197f2914ca999e7903216822 /src/time/mktime.c
parent841ec551221a44355beba6593cec462347df0d12 (diff)
update to 1:1 checked functions
Diffstat (limited to 'src/time/mktime.c')
-rw-r--r--src/time/mktime.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/time/mktime.c b/src/time/mktime.c
index c6d5ae03..60a8cfc7 100644
--- a/src/time/mktime.c
+++ b/src/time/mktime.c
@@ -79,6 +79,8 @@ time_t mktime(struct tm * timeptr)
+ timeptr->tm_sec;
}
+__check_1(time_t, 0, mktime, struct tm *)
+
/***
converts the local time pointed to by ARGUMENT(timeptr) to
an arithmetic value of type TYPEDEF(time_t). It also normalizes the values in