diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/unexelf.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/unexelf.c b/src/unexelf.c index 32aa1b281da..3dc0456d9b6 100644 --- a/src/unexelf.c +++ b/src/unexelf.c | |||
| @@ -211,6 +211,10 @@ entry_address (void *section_h, ptrdiff_t idx, ptrdiff_t entsize) | |||
| 211 | 211 | ||
| 212 | typedef unsigned char byte; | 212 | typedef unsigned char byte; |
| 213 | 213 | ||
| 214 | #ifdef HYBRID_MALLOC | ||
| 215 | extern int bss_sbrk_did_unexec; | ||
| 216 | #endif | ||
| 217 | |||
| 214 | /* **************************************************************** | 218 | /* **************************************************************** |
| 215 | * unexec | 219 | * unexec |
| 216 | * | 220 | * |
| @@ -228,7 +232,6 @@ unexec (const char *new_name, const char *old_name) | |||
| 228 | void *new_break; | 232 | void *new_break; |
| 229 | 233 | ||
| 230 | #ifdef HYBRID_MALLOC | 234 | #ifdef HYBRID_MALLOC |
| 231 | extern int bss_sbrk_did_unexec; | ||
| 232 | bss_sbrk_did_unexec = 1; | 235 | bss_sbrk_did_unexec = 1; |
| 233 | #endif | 236 | #endif |
| 234 | 237 | ||