aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--dlfcn/modatexit.c3
-rw-r--r--dlfcn/modcxaatexit.c4
-rw-r--r--elf/globalmod1.c2
4 files changed, 16 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ccc0794dea..3d4a9cf44f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)
{