]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(mbrtowc, mbsinit):
authorJim Meyering <jim@meyering.net>
Sat, 17 Feb 2001 13:18:56 +0000 (13:18 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 17 Feb 2001 13:18:56 +0000 (13:18 +0000)
Remove workaround macros for hosts that have mbrtowc but not
mbstate_t, as we now insist on proper declarations for both
before using mbrtowc.

src/ls.c

index 117c04dc9f0c23007cab667aee92b9e58179ed2d..c5701698c3a37df7a1676a2fb92b0ee6159a6666 100644 (file)
--- a/src/ls.c
+++ b/src/ls.c
 # 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