aboutsummaryrefslogtreecommitdiffstats
path: root/debug.h
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2006-09-07 09:06:25 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2006-09-07 09:06:25 +0000
commit940f0517d1272e195e7b14be567b9002811f6146 (patch)
treefdd1939c5cede084ae049b609076bb8971fbc896 /debug.h
parent454ea5c893f90f232d33e0bc50fc8d0b1617678b (diff)
downloadlcd4linux-940f0517d1272e195e7b14be567b9002811f6146.tar.gz
[lcd4linux @ 2006-09-07 09:06:25 by reinelt]
lots of wrong printf formats corrected (thanks to Ernst Bachmann) git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@708 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'debug.h')
-rw-r--r--debug.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/debug.h b/debug.h
index 0cfdd63..77cdbce 100644
--- a/debug.h
+++ b/debug.h
@@ -1,4 +1,4 @@
-/* $Id: debug.h,v 1.10 2005/05/08 04:32:43 reinelt Exp $
+/* $Id: debug.h,v 1.11 2006/09/07 09:06:25 reinelt Exp $
*
* debug messages
*
@@ -23,6 +23,9 @@
*
*
* $Log: debug.h,v $
+ * Revision 1.11 2006/09/07 09:06:25 reinelt
+ * lots of wrong printf formats corrected (thanks to Ernst Bachmann)
+ *
* Revision 1.10 2005/05/08 04:32:43 reinelt
* CodingStyle added and applied
*
@@ -73,7 +76,7 @@ extern int running_foreground;
extern int running_background;
extern int verbose_level;
-void message(const int level, const char *format, ...);
+void message(const int level, const char *format, ...) __attribute__ ((format(__printf__, 2, 3)));;
#define debug(args...) message (2, __FILE__ ": " args)
#define info(args...) message (1, args)