aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-04-06 15:23:41 +0000
committerAndreas Jaeger <aj@suse.de>2001-04-06 15:23:41 +0000
commitf4964b5cd47224bf63efe898ec450529d3400c4f (patch)
tree8ae6702fc953c52ba9614eb6c8f6d01504411473
parentbc025a8adf0aa5d418751c92a75d5733125322a5 (diff)
downloadglibc-f4964b5cd47224bf63efe898ec450529d3400c4f.zip
glibc-f4964b5cd47224bf63efe898ec450529d3400c4f.tar.gz
glibc-f4964b5cd47224bf63efe898ec450529d3400c4f.tar.bz2
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--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 ccc0794..3d4a9cf 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 110fead..1a91f37 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 1ff2d57..ddd40e1 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 778a558..3f80822 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)
{