From: Jim Meyering Date: Sat, 17 Feb 2001 10:39:17 +0000 (+0000) Subject: (mbrtowc, mbsinit): X-Git-Tag: FILEUTILS-4_0_40~23 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=1f7a13e62e08a0838ad1eff544129e2cbbbab665;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/lib/mbswidth.c b/lib/mbswidth.c index bb6aa1a6d8..208a629d34 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