From f4964b5cd47224bf63efe898ec450529d3400c4f Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 6 Apr 2001 15:23:41 +0000 Subject: [PATCH] Update. 2001-04-06 Andreas Jaeger * include/sys/profil.h: New file. * dlfcn/modatexit.c: Add prototypes to silence GCC. * dlfcn/modcxaatexit.c: Likewise. * elf/globalmod1.c: Likewise. --- ChangeLog | 8 ++++++++ dlfcn/modatexit.c | 3 +++ dlfcn/modcxaatexit.c | 4 +++- elf/globalmod1.c | 2 ++ 4 files changed, 16 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ccc0794dea..3d4a9cf44f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2001-04-06 Andreas Jaeger + + * include/sys/profil.h: New file. + + * dlfcn/modatexit.c: Add prototypes to silence GCC. + * dlfcn/modcxaatexit.c: Likewise. + * elf/globalmod1.c: Likewise. + 2001-04-05 David S. Miller * elf/elf.h (HWCAP_SPARC_ULTRA3): Define it. diff --git a/dlfcn/modatexit.c b/dlfcn/modatexit.c index 110feadad8..1a91f3750b 100644 --- a/dlfcn/modatexit.c +++ b/dlfcn/modatexit.c @@ -22,6 +22,9 @@ int global; int *ip; +extern void dummy (void); +extern void foo (void *p); + void dummy (void) { diff --git a/dlfcn/modcxaatexit.c b/dlfcn/modcxaatexit.c index 1ff2d57ecc..ddd40e1ce7 100644 --- a/dlfcn/modcxaatexit.c +++ b/dlfcn/modcxaatexit.c @@ -19,8 +19,10 @@ #include #include -int global; +extern void fluffy (void *p); +extern void bar (void *p); +int global; void fluffy (void *p) diff --git a/elf/globalmod1.c b/elf/globalmod1.c index 778a558746..3f80822269 100644 --- a/elf/globalmod1.c +++ b/elf/globalmod1.c @@ -1,6 +1,8 @@ #include #include +extern int test (void); + int test (void) {