From 37de950b40cc5dd494f130e31622fa3d8a0889cb Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sun, 3 Mar 2002 19:43:30 +0000 Subject: Update. 2002-03-03 Andreas Jaeger * elf/nodlopenmod2.c: Provide prototype to avoid warning. * elf/tst-tlsmod1.c: Likewise. * posix/regcomp.c: Get regex.h from include dir for internal prototypes. * sysdeps/unix/sysv/linux/init-first.c: Move __init_misc prototype to libc-internal.h and include it. * include/libc-internal.h: Add __init_misc. * misc/init-misc.c: Include libc-internal.h for prototypes. * sysdeps/wordsize-32/divdi3.c: Add prototypes to avoid warnings. * misc/error.c [_LIBC]: Include libioP.h for prototype of _IO_putc_internal. --- misc/error.c | 1 + misc/init-misc.c | 1 + 2 files changed, 2 insertions(+) (limited to 'misc') diff --git a/misc/error.c b/misc/error.c index 9d01066169..0e12297001 100644 --- a/misc/error.c +++ b/misc/error.c @@ -74,6 +74,7 @@ unsigned int error_message_count; # define program_name program_invocation_name # include +# include /* In GNU libc we want do not want to use the common name `error' directly. Instead make it a weak alias. */ diff --git a/misc/init-misc.c b/misc/init-misc.c index 8b877c3c43..cab5f9f9e0 100644 --- a/misc/init-misc.c +++ b/misc/init-misc.c @@ -18,6 +18,7 @@ 02111-1307 USA. */ #include +#include char *__progname_full = (char *) ""; char *__progname = (char *) ""; -- cgit v1.2.3