From cc6e7378d3f5473137e0c46d39173e6f60dcefda Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Tue, 30 Jan 2024 14:57:46 -0500 Subject: update standards and safety checks --- src/stdlib/getsubopt.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/stdlib/getsubopt.c') diff --git a/src/stdlib/getsubopt.c b/src/stdlib/getsubopt.c index 08f56e4f..93dd08c3 100644 --- a/src/stdlib/getsubopt.c +++ b/src/stdlib/getsubopt.c @@ -1,9 +1,9 @@ -#if 0 - #include +#include "_stdlib.h" int getsubopt(char ** optionp, char * const * keylistp, char ** valuep) { + SIGNAL_SAFE(0); return 0; } @@ -11,6 +11,3 @@ int getsubopt(char ** optionp, char * const * keylistp, char ** valuep) XOPEN(400) POSIX(200809) */ - - -#endif -- cgit v1.2.1