aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
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 /sysdeps
parent1bd8ff7b32826078b0794810dc7e0e5233551934 (diff)
downloadglibc-37de950b40cc5dd494f130e31622fa3d8a0889cb.tar
glibc-37de950b40cc5dd494f130e31622fa3d8a0889cb.tar.gz
glibc-37de950b40cc5dd494f130e31622fa3d8a0889cb.tar.bz2
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 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/init-first.c2
-rw-r--r--sysdeps/wordsize-32/divdi3.c6
2 files changed, 6 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/init-first.c b/sysdeps/unix/sysv/linux/init-first.c
index 7568a32ad1..3a7f4ffba7 100644
--- a/sysdeps/unix/sysv/linux/init-first.c
+++ b/sysdeps/unix/sysv/linux/init-first.c
@@ -33,8 +33,6 @@
# include "dl-osinfo.h"
#endif
-extern void __init_misc (int, char **, char **);
-
/* The function is called from assembly stubs the compiler can't see. */
static void init (int, char **, char **) __attribute__ ((unused));
diff --git a/sysdeps/wordsize-32/divdi3.c b/sysdeps/wordsize-32/divdi3.c
index 7929e3019c..60a02b7712 100644
--- a/sysdeps/wordsize-32/divdi3.c
+++ b/sysdeps/wordsize-32/divdi3.c
@@ -50,6 +50,12 @@ struct DWstruct { Wtype low, high;};
#endif
typedef union { struct DWstruct s; DWtype ll; } DWunion;
+/* Prototypes of exported functions. */
+extern DWtype __divdi3 (DWtype u, DWtype v);
+extern DWtype __moddi3 (DWtype u, DWtype v);
+extern UDWtype __udivdi3 (UDWtype u, UDWtype v);
+extern UDWtype __umoddi3 (UDWtype u, UDWtype v);
+
static UDWtype
__udivmoddi4 (UDWtype n, UDWtype d, UDWtype *rp)
{