Mercurial > emacs
diff src/ralloc.c @ 36187:72f30168f26c
(__morecore) [!SYSTEM_MALLOC]: Move declaration
to the start of the file.
| author | Gerd Moellmann <gerd@gnu.org> |
|---|---|
| date | Mon, 19 Feb 2001 12:19:40 +0000 |
| parents | d8d68cbd1113 |
| children | 23a1cea22d13 |
line wrap: on
line diff
--- 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
