[Expat-checkins] expat/tests/benchmark benchmark.c,1.4,1.5

Steven Solie ssolie at users.sourceforge.net
Sun Jun 3 17:00:12 CEST 2007


Update of /cvsroot/expat/expat/tests/benchmark
In directory sc8-pr-cvs17:/tmp/cvs-serv1696/tests/benchmark

Modified Files:
	benchmark.c 
Log Message:
Removed need for amiga_main().

Index: benchmark.c
===================================================================
RCS file: /cvsroot/expat/expat/tests/benchmark/benchmark.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- benchmark.c	7 Apr 2006 20:25:43 -0000	1.4
+++ benchmark.c	3 Jun 2007 15:00:09 -0000	1.5
@@ -4,6 +4,10 @@
 #include <time.h>
 #include "expat.h"
 
+#if defined(__amigaos__) && defined(__USE_INLINE__)
+#include <proto/expat.h>
+#endif
+
 #ifdef XML_LARGE_SIZE
 #define XML_FMT_INT_MOD "ll"
 #else
@@ -18,13 +22,7 @@
   exit(rc);
 }
 
-#ifdef AMIGA_SHARED_LIB
-#include <proto/expat.h>
-int
-amiga_main(int argc, char *argv[])
-#else
 int main (int argc, char *argv[]) 
-#endif
 {
   XML_Parser  parser;
   char        *XMLBuf, *XMLBufEnd, *XMLBufPtr;



More information about the Expat-checkins mailing list