summaryrefslogtreecommitdiff
path: root/src/stdlib/ignore_handler_s.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-01-30 14:57:46 -0500
committerJakob Kaivo <jkk@ung.org>2024-01-30 14:57:46 -0500
commitcc6e7378d3f5473137e0c46d39173e6f60dcefda (patch)
tree4cd2883ad16fd594b7777b6f3821d5b9177af5c4 /src/stdlib/ignore_handler_s.c
parent000a7c045c98c30aac86db93f8c9c978e5ca8c59 (diff)
update standards and safety checks
Diffstat (limited to 'src/stdlib/ignore_handler_s.c')
-rw-r--r--src/stdlib/ignore_handler_s.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/stdlib/ignore_handler_s.c b/src/stdlib/ignore_handler_s.c
index 6ef026eb..78d92307 100644
--- a/src/stdlib/ignore_handler_s.c
+++ b/src/stdlib/ignore_handler_s.c
@@ -1,11 +1,11 @@
-#if 0
-
#include <stdlib.h>
+#include "_stdlib.h"
/** ignore constraint violations **/
void ignore_handler_s(const char * restrict msg, void * restrict ptr, errno_t error)
{
- __C_EXT(1, 201112L);
+ SIGNAL_SAFE(0);
+ (void)msg; (void)ptr; (void)error;
return;
}
@@ -24,6 +24,3 @@ It simply returns to its caller.
/*
CEXT1(201112)
*/
-
-
-#endif