diff src/dgif_lib.c @ 74:54cc21c15cbb r20-0b32

Import from CVS: tag r20-0b32
author cvs
date Mon, 13 Aug 2007 09:04:33 +0200
parents 131b0175ea99
children 8619ce7e4c50
line wrap: on
line diff
--- a/src/dgif_lib.c	Mon Aug 13 09:03:47 2007 +0200
+++ b/src/dgif_lib.c	Mon Aug 13 09:04:33 2007 +0200
@@ -12,6 +12,18 @@
 *  3 Sep 90 - Version 1.1 by Gershon Elber (Support for Gif89, Unique names). *
 ******************************************************************************/
 
+#ifdef emacs
+#include <config.h>
+void *xmalloc (unsigned int size);
+void *xrealloc (void *ptr, unsigned int size);
+#ifdef ERROR_CHECK_MALLOC
+void *xfree_1 (void *);
+#define xfree xfree_1
+#else
+void *xfree (void *);
+#endif
+#endif /* emacs */
+
 #ifdef __MSDOS__
 #include <io.h>
 #include <alloc.h>
@@ -26,18 +38,6 @@
 #include <stdio.h>
 #include <string.h>
 
-#ifdef emacs
-#include <config.h>
-void *xmalloc (unsigned int size);
-void *xrealloc (void *ptr, unsigned int size);
-#ifdef ERROR_CHECK_MALLOC
-void *xfree_1 (void *);
-#define xfree xfree_1
-#else
-void *xfree (void *);
-#endif
-#endif
-
 #include "gif_lib.h"
 #ifndef emacs
 #include "gif_hash.h"