summaryrefslogtreecommitdiff
path: root/src/time/clock.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/clock.c
parent841ec551221a44355beba6593cec462347df0d12 (diff)
update to 1:1 checked functions
Diffstat (limited to 'src/time/clock.c')
-rw-r--r--src/time/clock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/time/clock.c b/src/time/clock.c
index 7f129e83..47fdd847 100644
--- a/src/time/clock.c
+++ b/src/time/clock.c
@@ -10,6 +10,8 @@ clock_t clock(void)
return (clock_t)-1;
}
+__check_0(clock_t, 0, clock)
+
/***
returns the amount of processor time used by the current
program. To convert this time to seconds, divide it by CONSTANT(CLOCKS_PER_SEC).