summaryrefslogtreecommitdiff
path: root/wctype/wctype.c
diff options
context:
space:
mode:
Diffstat (limited to 'wctype/wctype.c')
-rw-r--r--wctype/wctype.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/wctype/wctype.c b/wctype/wctype.c
index 0f7e478d64..c3bb1d9c6a 100644
--- a/wctype/wctype.c
+++ b/wctype/wctype.c
@@ -45,12 +45,6 @@ wctype (const char *property)
# define SWAPU32(w) \
(((w) << 24) | (((w) & 0xff00) << 8) | (((w) >> 8) & 0xff00) | ((w) >> 24))
-# define SWAPU16(w) \
- (((w) >> 8) | ((w) << 8))
-
- if (sizeof (wctype_t) == 4)
- return SWAPU32 (result);
- else
- return SWAPU16 (result);
+ return SWAPU32 (result);
#endif
}