1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00
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.
This commit is contained in:
Andreas Jaeger
2000-12-27 07:56:28 +00:00
parent 8001fa6014
commit 03bac9acad
9 changed files with 47 additions and 14 deletions

View File

@@ -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; \