From e7a4ab5efa4ccdb90237e05d4cdbd5e27a541ee8 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 17 Feb 2001 13:18:56 +0000 Subject: [PATCH] (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. --- src/ls.c | 6 ------ 1 file changed, 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