# HG changeset patch # User Gerd Moellmann # Date 982585180 0 # Node ID 72f30168f26cc105259623f5726103abca5f4b06 # Parent e391cbe3a2fee14271d842caa5adb988fb0f4ac9 (__morecore) [!SYSTEM_MALLOC]: Move declaration to the start of the file. diff -r e391cbe3a2fe -r 72f30168f26c src/ralloc.c --- a/src/ralloc.c Mon Feb 19 08:49:22 2001 +0000 +++ b/src/ralloc.c Mon Feb 19 12:19:40 2001 +0000 @@ -114,6 +114,14 @@ #define MEM_ROUNDUP(addr) (((unsigned long int)(addr) + MEM_ALIGN - 1) \ & ~(MEM_ALIGN - 1)) +/* The hook `malloc' uses for the function which gets more space + from the system. */ + +#ifndef SYSTEM_MALLOC +extern POINTER (*__morecore) (); +#endif + + /*********************************************************************** Implementation using sbrk @@ -1222,14 +1230,6 @@ Initialization ***********************************************************************/ -/* The hook `malloc' uses for the function which gets more space - from the system. */ - -#ifndef SYSTEM_MALLOC -extern POINTER (*__morecore) (); -#endif - - /* Initialize various things for memory allocation. */ static void