summaryrefslogtreecommitdiff
path: root/lib/mbswidth.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-02-17 10:39:17 +0000
committerJim Meyering <jim@meyering.net>2001-02-17 10:39:17 +0000
commit1f7a13e62e08a0838ad1eff544129e2cbbbab665 (patch)
tree0bb08bae2f9593979567ef085f28fe1ed3dc7e72 /lib/mbswidth.c
parent78d17132eb50ac987ec446b421b1286d32c8d6c7 (diff)
downloadcoreutils-1f7a13e62e08a0838ad1eff544129e2cbbbab665.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.
Diffstat (limited to 'lib/mbswidth.c')
-rw-r--r--lib/mbswidth.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/mbswidth.c b/lib/mbswidth.c
index bb6aa1a6d..208a629d3 100644
--- a/lib/mbswidth.c
+++ b/lib/mbswidth.c
@@ -51,12 +51,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