summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-02-17 13:18:56 +0000
committerJim Meyering <jim@meyering.net>2001-02-17 13:18:56 +0000
commite7a4ab5efa4ccdb90237e05d4cdbd5e27a541ee8 (patch)
tree6787ec2ea853057aa0262a01efc0ba992d8e7ee5
parentc2223ba418bf91ce2ffe981060e84307bcceaf17 (diff)
downloadcoreutils-e7a4ab5efa4ccdb90237e05d4cdbd5e27a541ee8.tar.xz
(mbrtowc, mbsinit):
Remove workaround macros for hosts that have mbrtowc but not mbstate_t, as we now insist on proper declarations for both before using mbrtowc.
-rw-r--r--src/ls.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/ls.c b/src/ls.c
index 117c04dc9..c5701698c 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -93,12 +93,6 @@
# define iswprint(wc) 1
#endif
-/* Some systems, like BeOS, have multibyte encodings but lack mbstate_t. */
-#if HAVE_MBRTOWC && defined mbstate_t
-# define mbrtowc(pwc, s, n, ps) (mbrtowc) (pwc, s, n, 0)
-# define mbsinit(ps) 1
-#endif
-
#ifndef HAVE_DECL_WCWIDTH
"this configure-time declaration test was not run"
#endif