From 6e7b72235b41c1415a03bcb03bad76180eb00644 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Mon, 21 Mar 2011 22:51:16 +0100 Subject: old_vfprintf.c: use _fpmaxtostr.h It shows that the internal functions differ... Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libc/stdio/old_vfprintf.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'libc/stdio/old_vfprintf.c') diff --git a/libc/stdio/old_vfprintf.c b/libc/stdio/old_vfprintf.c index d85bfde09..75bf3413e 100644 --- a/libc/stdio/old_vfprintf.c +++ b/libc/stdio/old_vfprintf.c @@ -135,14 +135,9 @@ #include #include #include -#include -#ifdef __UCLIBC_HAS_THREADS__ -#include -#endif /* __UCLIBC_HAS_THREADS__ */ +#include "_fpmaxtostr.h" - -/* #undef __UCLIBC_HAS_FLOATS__ */ /* #undef WANT_FLOAT_ERROR */ /* #define WANT_FLOAT_ERROR 1 */ @@ -206,14 +201,6 @@ static void putc_unlocked_sprintf(int c, __FILE_vsnprintf *f) #endif /* __STDIO_BUFFERS */ #ifdef __UCLIBC_HAS_FLOATS__ -#include -#include - -typedef void (__fp_outfunc_t)(FILE *fp, intptr_t type, intptr_t len, - intptr_t buf); - -extern size_t _fpmaxtostr(FILE * fp, __fpmax_t x, struct printf_info *info, - __fp_outfunc_t fp_outfunc) attribute_hidden; static void _charpad(FILE * __restrict stream, int padchar, size_t numpad) { -- cgit v1.2.3