aboutsummaryrefslogtreecommitdiffstats
path: root/debug.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-06-26 09:27:21 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-06-26 09:27:21 +0000
commit1338a264d57ad5f74ce6f8283966020a8e978d2e (patch)
treeb14a2a596dd615ae17880b7007d6b2b78191af94 /debug.c
parent55abb63f11967a147d26e4654cbbd7ab3f01a558 (diff)
downloadlcd4linux-1338a264d57ad5f74ce6f8283966020a8e978d2e.tar.gz
[lcd4linux @ 2004-06-26 09:27:20 by reinelt]
added '-W' to CFLAGS changed all C++ comments to C ones ('//' => '/* */') cleaned up a lot of signed/unsigned mistakes git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@480 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/debug.c b/debug.c
index ecfe034..5bc10d1 100644
--- a/debug.c
+++ b/debug.c
@@ -1,4 +1,4 @@
-/* $Id: debug.c,v 1.9 2004/06/20 10:09:54 reinelt Exp $
+/* $Id: debug.c,v 1.10 2004/06/26 09:27:20 reinelt Exp $
*
* debug() and error() functions
*
@@ -22,6 +22,12 @@
*
*
* $Log: debug.c,v $
+ * Revision 1.10 2004/06/26 09:27:20 reinelt
+ *
+ * added '-W' to CFLAGS
+ * changed all C++ comments to C ones ('//' => '/* */')
+ * cleaned up a lot of signed/unsigned mistakes
+ *
* Revision 1.9 2004/06/20 10:09:54 reinelt
*
* 'const'ified the whole source
@@ -91,7 +97,7 @@ void message (const int level, const char *format, ...)
if (level>verbose_level) return;
va_start(ap, format);
- (void) vsnprintf(buffer, sizeof(buffer), format, ap);
+ vsnprintf(buffer, sizeof(buffer), format, ap);
va_end(ap);
if (!running_background) {