summaryrefslogtreecommitdiff
path: root/src/wctype/wctype.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-01-30 15:45:07 -0500
committerJakob Kaivo <jkk@ung.org>2024-01-30 15:45:07 -0500
commit910a86c095b6d7311d73fa88a632aa9b673243b2 (patch)
treea95289a96455cbb5d3bfe83a974583e05faa1ad1 /src/wctype/wctype.c
parentefef927455cf3ee7566fbe50d4344e3162e11635 (diff)
update standards and safety checks
Diffstat (limited to 'src/wctype/wctype.c')
-rw-r--r--src/wctype/wctype.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/wctype/wctype.c b/src/wctype/wctype.c
index 0a26bc4a..c2390b35 100644
--- a/src/wctype/wctype.c
+++ b/src/wctype/wctype.c
@@ -1,13 +1,12 @@
-#if 0
-
#include <wctype.h>
#include <string.h>
-#include "_assert.h"
+#include "_safety.h"
#include "_wctype.h"
/** lookup character class **/
wctype_t wctype(const char * property)
{
+ SIGNAL_SAFE(0);
ASSERT_NONNULL(property);
if (!strcmp(property, "alnum")) {
@@ -59,6 +58,3 @@ cclass(print), cclass(punct), cclass(space), cclass(upper), and cclass(xdigit).
/*
STDC(199409)
*/
-
-
-#endif