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. --- sysdeps/unix/sysv/linux/init-first.c | 2 -- sysdeps/wordsize-32/divdi3.c | 6 ++++++ 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'sysdeps') diff --git a/sysdeps/unix/sysv/linux/init-first.c b/sysdeps/unix/sysv/linux/init-first.c index 7568a32..3a7f4ff 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 7929e30..60a02b7 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) { -- cgit v1.1