diff src/dgif_lib.c @ 16:0293115a14e9 r19-15b91

Import from CVS: tag r19-15b91
author cvs
date Mon, 13 Aug 2007 08:49:20 +0200
parents 376386a54a3c
children c53a95d3c46d
line wrap: on
line diff
--- a/src/dgif_lib.c	Mon Aug 13 08:48:43 2007 +0200
+++ b/src/dgif_lib.c	Mon Aug 13 08:49:20 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"