From 64b5e8f2bb484a768505192ff9aa8ea07bf8fad8 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Tue, 20 Aug 2002 01:40:39 +0000 Subject: 2002-08-19 Jeff Johnston * libc/include/sys/types.h: Support __need_inttypes macro that only sets the __intxx and __uintxx types. * libc/machine/powerpc/Makefile.am: Add stdlib to include directories to get mprec.h. * libc/machine/powerpc/Makefile.in: Regenerated. * libc/machine/powerpc/vfprintf.c: Fix state variable type. * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove redundant fixed-point conversion prototypes. * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include after setting __need_inttypes. --- newlib/libc/machine/powerpc/vfprintf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'newlib/libc/machine/powerpc/vfprintf.c') diff --git a/newlib/libc/machine/powerpc/vfprintf.c b/newlib/libc/machine/powerpc/vfprintf.c index ff3a4f66b..820461780 100644 --- a/newlib/libc/machine/powerpc/vfprintf.c +++ b/newlib/libc/machine/powerpc/vfprintf.c @@ -166,7 +166,6 @@ static char *rcsid = "$Id$"; #include #include #include -#include #include #ifdef __ALTIVEC__ #include @@ -389,7 +388,7 @@ _DEFUN (_VFPRINTF_R, (data, fp, fmt0, ap), int vec_print_count; /* number of vector chunks remaining */ vec_16_byte_union vec_tmp; #endif /* __ALTIVEC__ */ - mbstate_t state; /* mbtowc calls from library must not change state */ + int state; /* mbtowc calls from library must not change state */ /* * Choose PADSIZE to trade efficiency vs. size. If larger printf -- cgit v1.2.3