Mercurial > emacs
changeset 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 | e391cbe3a2fe |
children | 6619ad846eb1 |
files | src/ralloc.c |
diffstat | 1 files changed, 8 insertions(+), 8 deletions(-) [+] |
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