summaryrefslogtreecommitdiff
path: root/src/wctype/towlower.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wctype/towlower.c')
-rw-r--r--src/wctype/towlower.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/wctype/towlower.c b/src/wctype/towlower.c
index 33714643..30258662 100644
--- a/src/wctype/towlower.c
+++ b/src/wctype/towlower.c
@@ -1,13 +1,12 @@
-#if 0
-
#include <wctype.h>
#include <wchar.h>
#include <stdlib.h>
-#include "_assert.h"
+#include "_safety.h"
/** convert a wide uppercase letter to lowercase **/
wint_t towlower(wint_t wc)
{
+ SIGNAL_SAFE(0);
ASSERT_REPRESENTABLE(wc, WCHAR_MIN, WCHAR_MAX, "wchar_t", WEOF);
if (!iswupper(wc)) {
@@ -33,6 +32,3 @@ lowercase letter in the current locale.
/*
STDC(199409)
*/
-
-
-#endif