about summary refs log tree commit diff
path: root/misc
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2002-03-03 19:43:30 +0000
committerAndreas Jaeger <aj@suse.de>2002-03-03 19:43:30 +0000
commit37de950b40cc5dd494f130e31622fa3d8a0889cb (patch)
tree4229c5cca92f088b0af4797b38e7a869a591595a /misc
parent1bd8ff7b32826078b0794810dc7e0e5233551934 (diff)
downloadglibc-37de950b40cc5dd494f130e31622fa3d8a0889cb.tar.gz
glibc-37de950b40cc5dd494f130e31622fa3d8a0889cb.tar.xz
glibc-37de950b40cc5dd494f130e31622fa3d8a0889cb.zip
Update.
2002-03-03  Andreas Jaeger  <aj@suse.de>

	* 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.
Diffstat (limited to 'misc')
-rw-r--r--misc/error.c1
-rw-r--r--misc/init-misc.c1
2 files changed, 2 insertions, 0 deletions
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 <errno.h>
+# include <libio/libioP.h>
 
 /* 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 <string.h>
+#include <libc-internal.h>
 
 char *__progname_full = (char *) "";
 char *__progname = (char *) "";