From 000a7c045c98c30aac86db93f8c9c978e5ca8c59 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Tue, 30 Jan 2024 14:25:31 -0500 Subject: update standards and safety checks --- src/stdio/snprintf.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/stdio/snprintf.c') diff --git a/src/stdio/snprintf.c b/src/stdio/snprintf.c index 9cac9a7f..9bf6d17b 100644 --- a/src/stdio/snprintf.c +++ b/src/stdio/snprintf.c @@ -1,11 +1,11 @@ -#if 0 - #include #include #include "_stdio.h" int snprintf(char * restrict s, size_t n, const char * restrict format, ...) { + SIGNAL_SAFE(0); + struct io_options opt = { .fnname = __func__, .string = s, @@ -23,6 +23,3 @@ int snprintf(char * restrict s, size_t n, const char * restrict format, ...) /* STDC(199901) */ - - -#endif -- cgit v1.2.1