From 672f2056941af8523f1628bd66cc630885101f55 Mon Sep 17 00:00:00 2001 From: mainzelm Date: Wed, 3 Oct 2001 20:14:55 +0000 Subject: [PATCH] Bigger initial heap size. --- c/main.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/c/main.c b/c/main.c index 735a650..2c44c4a 100644 --- a/c/main.c +++ b/c/main.c @@ -10,7 +10,7 @@ */ #if !defined(DEFAULT_HEAP_SIZE) /* 4 megacell = 16 megabytes (8 meg per semispace) */ -#define DEFAULT_HEAP_SIZE 4000000L +#define DEFAULT_HEAP_SIZE 4500000L #endif #if !defined(DEFAULT_STACK_SIZE) @@ -37,9 +37,10 @@ char ** process_args(char **argv, char **object_file, char **image_name); -int internal_s48_main(long heap_size, long stack_size, - char* prog_name, char* object_file, char* image_name, - int argc, char** argv); +extern int +internal_s48_main(long heap_size, long stack_size, + char* prog_name, char* object_file, char* image_name, + int argc, char** argv); int main(argc, argv)