summaryrefslogtreecommitdiff
path: root/src/sheap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sheap.c')
-rw-r--r--src/sheap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sheap.c b/src/sheap.c
index dc34df59556..2c85dd43635 100644
--- a/src/sheap.c
+++ b/src/sheap.c
@@ -44,7 +44,9 @@ int debug_sheap = 0;
#define BLOCKSIZE 4096
char bss_sbrk_buffer[STATIC_HEAP_SIZE];
-char *bss_sbrk_buffer_end = bss_sbrk_buffer + STATIC_HEAP_SIZE;
+/* The following two variables are needed in gmalloc.c */
+void *bss_sbrk_buffer_beg = bss_sbrk_buffer;
+void *bss_sbrk_buffer_end = bss_sbrk_buffer + STATIC_HEAP_SIZE;
char *bss_sbrk_ptr;
char *max_bss_sbrk_ptr;
int bss_sbrk_did_unexec;