diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2016-12-20 00:54:32 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2016-12-20 00:54:32 +0300 |
commit | bfe8e64b1780a2c2420ad56f2afe2213547e1aa0 (patch) | |
tree | cbf9f6b83d75f9c62bdb0b5a4c1735fd9c9e3d0d /dyn_load.c | |
parent | 686c871ef1cab9837f9b7edce55a1ad144169c9c (diff) | |
download | bdwgc-bfe8e64b1780a2c2420ad56f2afe2213547e1aa0.tar.gz |
Fix storage class of local variable in register_dynamic_libraries (Irix)
* dyn_load.c [IRIX5 || USE_PROC_FOR_LIBRARIES && !LINUX]
(GC_register_dynamic_libraries): Remove "static" for needed_sz local
variable (and initialize it to zero).
Diffstat (limited to 'dyn_load.c')
-rw-r--r-- | dyn_load.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -789,7 +789,7 @@ GC_INNER void GC_register_dynamic_libraries(void) char buf[30]; static prmap_t * addr_map = 0; static int current_sz = 0; /* Number of records currently in addr_map */ - static int needed_sz; /* Required size of addr_map */ + int needed_sz = 0; /* Required size of addr_map */ int i; long flags; ptr_t start; |