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. --- include/printf.h | 10 ++++++++++ include/stdio.h | 4 ++++ include/stdlib.h | 4 ++++ 3 files changed, 18 insertions(+) (limited to 'include') diff --git a/include/printf.h b/include/printf.h index 777e958..a025eac 100644 --- a/include/printf.h +++ b/include/printf.h @@ -1 +1,11 @@ +#ifndef _PRINTF_H + #include + +/* Now define the internal interfaces. */ +extern int __printf_fphex (FILE *, const struct printf_info *, + const void *const *); +extern int __printf_fp (FILE *, const struct printf_info *, + const void *const *); + +#endif diff --git a/include/stdio.h b/include/stdio.h index 419b58c..ce06a41 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -60,6 +60,10 @@ extern void __funlockfile (FILE *__stream); possible. */ extern int __ftrylockfile (FILE *__stream); +extern int __getc_unlocked (FILE *__fp); +extern wint_t __getwc_unlocked (FILE *__fp); + + # endif #endif diff --git a/include/stdlib.h b/include/stdlib.h index 2ca8ca1..f57df69 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -55,9 +55,13 @@ extern void _quicksort (void *const pbase, size_t total_elems, extern int __cxa_atexit (void (*func) (void *), void *arg, void *d); +extern void __cxa_finalize (void *d); + extern int __posix_memalign (void **memptr, size_t alignment, size_t size) __attribute_malloc__; +extern int __libc_system (const char *line); + #endif #undef __Need_M_And_C -- cgit v1.1