aboutsummaryrefslogtreecommitdiffstats
path: root/debug.c
diff options
context:
space:
mode:
authorreinelt <>2004-06-26 09:27:21 +0000
committerreinelt <>2004-06-26 09:27:21 +0000
commitdc5568350b289278d2e85f8d8eaea4e652b4876c (patch)
treeb14a2a596dd615ae17880b7007d6b2b78191af94 /debug.c
parent3f9f909fa330cb2ff47b56c43d2a4c5e1dc0a8c0 (diff)
downloadlcd4linux-dc5568350b289278d2e85f8d8eaea4e652b4876c.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
Diffstat (limited to '')
-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) {