diff src/unexcw.c @ 442:abe6d1db359e r21-2-36

Import from CVS: tag r21-2-36
author cvs
date Mon, 13 Aug 2007 11:35:02 +0200
parents a5df635868b2
children 576fb035e263
line wrap: on
line diff
--- a/src/unexcw.c	Mon Aug 13 11:33:40 2007 +0200
+++ b/src/unexcw.c	Mon Aug 13 11:35:02 2007 +0200
@@ -29,7 +29,10 @@
 #include <fcntl.h>
 #include <config.h>
 #include <string.h>
+
+#define DONT_ENCAPSULATE /* filenames are external in unex*.c */
 #include "sysfile.h"
+
 #define PERROR(arg) perror(arg);exit(-1) 
 
 #ifndef HAVE_A_OUT_H
@@ -39,7 +42,6 @@
 }
 #else
 
-#undef CONST
 #ifndef MAX_PATH
 #define MAX_PATH 260
 #endif
@@ -83,6 +85,9 @@
   exit(-1); \
 }
 
+void
+unexec (char *out_name, char *in_name, void *start_data, 
+	void * d1, void * d2);
 /* Dump out .data and .bss sections into a new executable.  */
 void unexec (char *out_name, char *in_name, void *start_data, 
 	     void * d1,	void * d2)