aboutsummaryrefslogtreecommitdiffstats
path: root/com32/include
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-11-19 16:52:11 -0800
committerH. Peter Anvin <hpa@zytor.com>2009-11-19 16:52:11 -0800
commitbc06fce990b5bb8559d37eb2d2a7aa8c69ca024b (patch)
tree95687475bd42e11a1db3832971969abc33c70705 /com32/include
parent8b5bef3b13cf05f4e661370ee353a4a86c00ea11 (diff)
downloadsyslinux-bc06fce990b5bb8559d37eb2d2a7aa8c69ca024b.tar.gz
syslinux-bc06fce990b5bb8559d37eb2d2a7aa8c69ca024b.tar.xz
syslinux-bc06fce990b5bb8559d37eb2d2a7aa8c69ca024b.zip
dprintf: fix uninitialized pointer; return void
Fix an uninitialized pointer bug; return void rather than returning int like normal printfs... if we're depending on the return value of a debugging function we're screwed when debugging is disabled. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/include')
-rw-r--r--com32/include/dprintf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/include/dprintf.h b/com32/include/dprintf.h
index 4c9682c0..30a21ada 100644
--- a/com32/include/dprintf.h
+++ b/com32/include/dprintf.h
@@ -9,8 +9,8 @@
#include <stdio.h>
-int dprintf(const char *, ...);
-int vdprintf(const char *, va_list);
+void dprintf(const char *, ...);
+void vdprintf(const char *, va_list);
#else