From e04cf58cf3b404644b9983225ba625d656034078 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Tue, 30 Jan 2024 22:59:08 -0500 Subject: update to 1:1 checked functions --- src/time/asctime_s.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/time/asctime_s.c') diff --git a/src/time/asctime_s.c b/src/time/asctime_s.c index 8a551c1f..84f20cc7 100644 --- a/src/time/asctime_s.c +++ b/src/time/asctime_s.c @@ -21,6 +21,8 @@ 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 *) + /*** The fn(asctime) function converts the time specified at arg(timeptr) to a string in the format string(DDD MMM dd hh:mm:ss yyyy\n\0), where str(DDD) is the -- cgit v1.2.1