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/vfscanf.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'newlib/libc/machine/powerpc/vfscanf.c') diff --git a/newlib/libc/machine/powerpc/vfscanf.c b/newlib/libc/machine/powerpc/vfscanf.c index 9cfb658ca..323a43895 100644 --- a/newlib/libc/machine/powerpc/vfscanf.c +++ b/newlib/libc/machine/powerpc/vfscanf.c @@ -107,7 +107,6 @@ Supporting OS subroutines required: #include #include #include -#include #include #ifdef _HAVE_STDC #include @@ -132,11 +131,6 @@ Supporting OS subroutines required: extern _LONG_DOUBLE _strtold _PARAMS((char *s, char **sptr)); #endif -#ifdef __SPE__ -extern __int64_t _strtosfix64_r _PARAMS((struct _reent *, char *s, char **sptr)); -extern __uint64_t _strtoufix64_r _PARAMS((struct _reent *, char *s, char **sptr)); -#endif - #define _NO_LONGLONG #if defined WANT_PRINTF_LONG_LONG && defined __GNUC__ # undef _NO_LONGLONG @@ -284,7 +278,7 @@ __svfscanf_r (rptr, fp, fmt0, ap) vec_union vec_buf; char *lptr; /* literal pointer */ #ifdef MB_CAPABLE - mbstate_t state; /* value to keep track of multibyte state */ + int state; /* value to keep track of multibyte state */ #endif char *ch_dest; -- cgit v1.2.3