summaryrefslogtreecommitdiff
path: root/src/ralloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ralloc.c')
-rw-r--r--src/ralloc.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/ralloc.c b/src/ralloc.c
index 2e9004baa2f..9d31320bfcf 100644
--- a/src/ralloc.c
+++ b/src/ralloc.c
@@ -114,6 +114,14 @@ static int extra_bytes;
#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 @@ r_alloc_check ()
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