diff options
author | Andreas Jaeger <aj@suse.de> | 2001-04-06 15:23:41 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2001-04-06 15:23:41 +0000 |
commit | f4964b5cd47224bf63efe898ec450529d3400c4f (patch) | |
tree | 8ae6702fc953c52ba9614eb6c8f6d01504411473 | |
parent | bc025a8adf0aa5d418751c92a75d5733125322a5 (diff) |
Update.
2001-04-06 Andreas Jaeger <aj@suse.de>
* include/sys/profil.h: New file.
* dlfcn/modatexit.c: Add prototypes to silence GCC.
* dlfcn/modcxaatexit.c: Likewise.
* elf/globalmod1.c: Likewise.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | dlfcn/modatexit.c | 3 | ||||
-rw-r--r-- | dlfcn/modcxaatexit.c | 4 | ||||
-rw-r--r-- | elf/globalmod1.c | 2 |
4 files changed, 16 insertions, 1 deletions
@@ -1,3 +1,11 @@ +2001-04-06 Andreas Jaeger <aj@suse.de> + + * 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 <davem@redhat.com> * 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 <stdio.h> #include <stdlib.h> -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 <dlfcn.h> #include <stdio.h> +extern int test (void); + int test (void) { |