Use correct prototype for DbgPrint. Thanks to Hartmut for pointing this out.
Modified: trunk/reactos/lib/inflib/builddep.h
Modified: trunk/reactos/lib/inflib/infhostglue.c
Modified: trunk/reactos/lib/inflib/inflib.mak

Modified: trunk/reactos/lib/inflib/builddep.h
--- trunk/reactos/lib/inflib/builddep.h	2005-11-26 23:17:32 UTC (rev 19664)
+++ trunk/reactos/lib/inflib/builddep.h	2005-11-26 23:26:04 UTC (rev 19665)
@@ -44,7 +44,7 @@
 #define _tcstol strtol
 #define STRFMT "%s"
 
-extern void DbgPrint(const char *Fmt, ...);
+extern unsigned long DbgPrint(char *Fmt, ...);
 
 #else /* ! defined(INFLIB_HOST) */
 

Modified: trunk/reactos/lib/inflib/infhostglue.c
--- trunk/reactos/lib/inflib/infhostglue.c	2005-11-26 23:17:32 UTC (rev 19664)
+++ trunk/reactos/lib/inflib/infhostglue.c	2005-11-26 23:26:04 UTC (rev 19665)
@@ -11,14 +11,16 @@
 #define NDEBUG
 #include <debug.h>
 
-void
-DbgPrint(const char *Fmt, ...)
+unsigned long
+DbgPrint(char *Fmt, ...)
 {
   va_list Args;
 
   va_start(Args, Fmt);
   vfprintf(stderr, Fmt, Args);
   va_end(Args);
+
+  return 0;
 }
 
 /* EOF */

Modified: trunk/reactos/lib/inflib/inflib.mak
--- trunk/reactos/lib/inflib/inflib.mak	2005-11-26 23:17:32 UTC (rev 19664)
+++ trunk/reactos/lib/inflib/inflib.mak	2005-11-26 23:26:04 UTC (rev 19665)
@@ -31,7 +31,7 @@
 INFLIB_HOST_OBJECTS = \
 	$(subst $(INFLIB_BASE), $(INFLIB_INT), $(INFLIB_HOST_SOURCES:.c=.o))
 
-INFLIB_HOST_CFLAGS = -O3 -Wall -Wwrite-strings -Wpointer-arith -Wconversion \
+INFLIB_HOST_CFLAGS = -O3 -Wall -Wpointer-arith -Wconversion \
   -Wstrict-prototypes -Wmissing-prototypes -DINFLIB_HOST -D_M_IX86 \
   -I$(INFLIB_BASE) -Iinclude/reactos -DDBG