From 1338a264d57ad5f74ce6f8283966020a8e978d2e Mon Sep 17 00:00:00 2001 From: reinelt Date: Sat, 26 Jun 2004 09:27:21 +0000 Subject: [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 --- debug.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'debug.c') 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) { -- cgit v1.2.3