summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-04-27 02:53:04 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-04-27 02:53:04 +0000
commit0f1d9b431ff90170aa11e991f7a1a9ecec71a441 (patch)
tree5eef06c14e55ee7eb70ff5427d14d5f0b89de967 /ldso
parent266ae826f8660d485daba069a921ec1ebc68a46d (diff)
GCC-4.1.0 doesn't like it when you reference 'extern' one place and then try
and declare the variable static in another. Let's not do that.
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/ldso.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c
index 54da613aa..58498ed01 100644
--- a/ldso/ldso/ldso.c
+++ b/ldso/ldso/ldso.c
@@ -75,8 +75,8 @@ void _dl_debug_state(void)
{
}
-static unsigned char *_dl_malloc_addr = 0; /* Lets _dl_malloc use the already allocated memory page */
-static unsigned char *_dl_mmap_zero = 0; /* Also used by _dl_malloc */
+unsigned char *_dl_malloc_addr = 0; /* Lets _dl_malloc use the already allocated memory page */
+unsigned char *_dl_mmap_zero = 0; /* Also used by _dl_malloc */
static struct elf_resolve **init_fini_list;
static int nlist; /* # items in init_fini_list */