From 910a86c095b6d7311d73fa88a632aa9b673243b2 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Tue, 30 Jan 2024 15:45:07 -0500 Subject: update standards and safety checks --- src/wctype/iswalnum.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/wctype/iswalnum.c') diff --git a/src/wctype/iswalnum.c b/src/wctype/iswalnum.c index 94c67f95..a6511816 100644 --- a/src/wctype/iswalnum.c +++ b/src/wctype/iswalnum.c @@ -1,13 +1,12 @@ -#if 0 - #include #include #include -#include "_assert.h" +#include "_safety.h" /** test whether a wide character is alphanumeric **/ int iswalnum(wint_t wc) { + SIGNAL_SAFE(0); ASSERT_REPRESENTABLE(wc, WCHAR_MIN, WCHAR_MAX, "wchar_t", WEOF); return iswalpha(wc) || iswdigit(wc); @@ -28,6 +27,3 @@ cclass(alpha) or cclass(digit) in the current locale. /* STDC(199409) */ - - -#endif -- cgit v1.2.1