diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2002-08-20 01:40:39 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2002-08-20 01:40:39 +0000 |
commit | 64b5e8f2bb484a768505192ff9aa8ea07bf8fad8 (patch) | |
tree | 9b587f294a82f21b1c0e3cdb347f2cda41405fb7 /newlib/libc/machine/powerpc/vfprintf.c | |
parent | 9a5498d08b68be7f349b698fc413da83dc78532c (diff) | |
download | cygnal-64b5e8f2bb484a768505192ff9aa8ea07bf8fad8.tar.gz cygnal-64b5e8f2bb484a768505192ff9aa8ea07bf8fad8.tar.bz2 cygnal-64b5e8f2bb484a768505192ff9aa8ea07bf8fad8.zip |
2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
* 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 <sys/types.h>
after setting __need_inttypes.
Diffstat (limited to 'newlib/libc/machine/powerpc/vfprintf.c')
-rw-r--r-- | newlib/libc/machine/powerpc/vfprintf.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 <stdlib.h> #include <string.h> #include <reent.h> -#include <wchar.h> #include <string.h> #ifdef __ALTIVEC__ #include <altivec.h> @@ -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 |