From ad177f456c86967d3b099303429bded3e3f26012 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 17 Feb 2001 10:39:43 +0000 Subject: (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. --- lib/quotearg.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/quotearg.c b/lib/quotearg.c index a668a68b5..2a7ba4c44 100644 --- a/lib/quotearg.c +++ b/lib/quotearg.c @@ -66,13 +66,7 @@ # include #endif -#if HAVE_MBRTOWC -size_t mbrtowc (); -# ifdef mbstate_t -# define mbrtowc(pwc, s, n, ps) (mbrtowc) (pwc, s, n, 0) -# define mbsinit(ps) 1 -# endif -#else +#if !HAVE_MBRTOWC /* Disable multibyte processing entirely. Since MB_CUR_MAX is 1, the other macros are defined only for documentation and to satisfy C syntax. */ -- cgit v1.2.3-70-g09d2