소스 검색

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.

"Steven J. Hill" 19 년 전
부모
커밋
0f1d9b431f
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      ldso/ldso/ldso.c

+ 2 - 2
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 */