mirror of
https://github.com/reactos/reactos.git
synced 2025-04-28 01:11:35 +00:00
Use correct prototype for DbgPrint. Thanks to Hartmut for pointing this out.
svn path=/trunk/; revision=19665
This commit is contained in:
parent
1a1c4e47a7
commit
9ac03e5aae
3 changed files with 6 additions and 4 deletions
|
@ -44,7 +44,7 @@ typedef char TCHAR, *PTCHAR, *PTSTR;
|
|||
#define _tcstol strtol
|
||||
#define STRFMT "%s"
|
||||
|
||||
extern void DbgPrint(const char *Fmt, ...);
|
||||
extern unsigned long DbgPrint(char *Fmt, ...);
|
||||
|
||||
#else /* ! defined(INFLIB_HOST) */
|
||||
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -31,7 +31,7 @@ INFLIB_HOST_SOURCES = $(addprefix $(INFLIB_BASE_), \
|
|||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue