From 03bac9acadcafeef0fcdc38719844167c77f412d Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 27 Dec 2000 07:56:28 +0000 Subject: Update. 2000-12-26 Andreas Jaeger * libio/getc_u.c: Include stdio.h via system path to get internal prototypes. * libio/getwc_u.c: Likewise. * stdlib/strfmon.c: Fix prototype of __printf_fp. * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and __printf_fp prototypes to ... * include/printf.h: ...here. * include/stdio.h: Add some internal prototypes to shut up GCC. * include/stdlib.h: Likewise. * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype declaration. * include/signal.h: Add prototypes for internal sigpause interfaces. --- stdio-common/vfprintf.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'stdio-common') diff --git a/stdio-common/vfprintf.c b/stdio-common/vfprintf.c index 822728e..62750b4 100644 --- a/stdio-common/vfprintf.c +++ b/stdio-common/vfprintf.c @@ -798,8 +798,6 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap) LABEL (form_float): \ { \ /* Floating-point number. This is handled by printf_fp.c. */ \ - extern int __printf_fp __P ((FILE *, const struct printf_info *, \ - const void **const)); \ const void *ptr; \ int function_done; \ \ @@ -848,9 +846,7 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap) \ LABEL (form_floathex): \ { \ - /* FLoating point number printed as hexadecimal number. */ \ - extern int __printf_fphex __P ((FILE *, const struct printf_info *, \ - const void **const)); \ + /* Floating point number printed as hexadecimal number. */ \ const void *ptr; \ int function_done; \ \ @@ -919,7 +915,7 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap) else \ { \ /* Write "(nil)" for a nil pointer. */ \ - string = (CHAR_T *) L_("(nil)"); \ + string = (CHAR_T *) L_("(nil)"); \ /* Make sure the full string "(nil)" is printed. */ \ if (prec < 5) \ prec = 5; \ -- cgit v1.1