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/strftime.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/time/strftime.c') diff --git a/src/time/strftime.c b/src/time/strftime.c index 949ae79b..2ba09ecc 100644 --- a/src/time/strftime.c +++ b/src/time/strftime.c @@ -152,6 +152,8 @@ 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 *) + /*** converts the time at ARGUMENT(timeptr) to a string of no more than ARGUMENT(maxsize) bytes at ARGUMENT(s). The format of the converted string -- cgit v1.2.1