aboutsummaryrefslogtreecommitdiff
path: root/stdio-common
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-27 07:56:28 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-27 07:56:28 +0000
commit03bac9acadcafeef0fcdc38719844167c77f412d (patch)
treebdd5f69403c9019f7c0b49ea5ca98fe3eccdeace /stdio-common
parent8001fa60142c49a43e66b6874271d136a2792469 (diff)
downloadglibc-03bac9acadcafeef0fcdc38719844167c77f412d.zip
glibc-03bac9acadcafeef0fcdc38719844167c77f412d.tar.gz
glibc-03bac9acadcafeef0fcdc38719844167c77f412d.tar.bz2
Update.
2000-12-26 Andreas Jaeger <aj@suse.de> * 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.
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/vfprintf.c8
1 files changed, 2 insertions, 6 deletions
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; \