]> git.eshelyaron.com Git - emacs.git/commitdiff
(__morecore) [!SYSTEM_MALLOC]: Move declaration
authorGerd Moellmann <gerd@gnu.org>
Mon, 19 Feb 2001 12:20:08 +0000 (12:20 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 19 Feb 2001 12:20:08 +0000 (12:20 +0000)
to the start of the file.

src/ChangeLog
src/ralloc.c

index 4c1e2b123f4130f198b00bc71cb01185dd8053f4..44015eb92969ad22e052a69ee338cb0161d239ad 100644 (file)
@@ -1,3 +1,8 @@
+2001-02-19  Gerd Moellmann  <gerd@gnu.org>
+
+       * ralloc.c (__morecore) [!SYSTEM_MALLOC]: Move declaration
+       to the start of the file.
+
 2001-02-16  Gerd Moellmann  <gerd@gnu.org>
 
        * window.c (set_window_buffer): Fix last change.
index 2e9004baa2f4b83407d70276aa0b3bfd17d7f08c..9d31320bfcfbef3882a4d070257850ef610190fc 100644 (file)
@@ -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
+
+
 \f
 /***********************************************************************
                      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