[uClibc-cvs] svn commit: trunk/uClibc/ldso/ldso

sjhill at uclibc.org sjhill at uclibc.org
Wed Apr 27 02:53:05 UTC 2005


Author: sjhill
Date: 2005-04-26 20:53:04 -0600 (Tue, 26 Apr 2005)
New Revision: 10184

Log:
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.


Modified:
   trunk/uClibc/ldso/ldso/ldso.c


Changeset:
Modified: trunk/uClibc/ldso/ldso/ldso.c
===================================================================
--- trunk/uClibc/ldso/ldso/ldso.c	2005-04-26 06:26:14 UTC (rev 10183)
+++ trunk/uClibc/ldso/ldso/ldso.c	2005-04-27 02:53:04 UTC (rev 10184)
@@ -75,8 +75,8 @@
 {
 }
 
-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 */




More information about the uClibc-cvs mailing list