From: Jim Meyering Date: Sat, 17 Feb 2001 13:18:56 +0000 (+0000) Subject: (mbrtowc, mbsinit): X-Git-Tag: FILEUTILS-4_0_40~10 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=e7a4ab5efa4ccdb90237e05d4cdbd5e27a541ee8;p=thirdparty%2Fcoreutils.git (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. --- diff --git a/src/ls.c b/src/ls.c index 117c04dc9f..c5701698c3 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