summaryrefslogtreecommitdiffstats
path: root/log.h
diff options
context:
space:
mode:
authorGravatar Hector Martin2009-04-28 19:01:12 +0200
committerGravatar Hector Martin2009-04-28 19:01:12 +0200
commit53fb582e7729d5b7ed40ff04d912fcf5add7ce1c (patch)
tree8dd1f4d5426421a3a84a9d5df43f2fba48d12143 /log.h
parentc2d46d901822c54a0677318522db62f30b8d5f04 (diff)
downloadusbmuxd-53fb582e7729d5b7ed40ff04d912fcf5add7ce1c.tar.gz
usbmuxd-53fb582e7729d5b7ed40ff04d912fcf5add7ce1c.tar.bz2
USB TX/RX, device framework, version packets
Diffstat (limited to 'log.h')
-rw-r--r--log.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/log.h b/log.h
index 56ecbf4..f6eb5c1 100644
--- a/log.h
+++ b/log.h
@@ -29,10 +29,12 @@ enum loglevel {
LL_INFO,
LL_DEBUG,
LL_SPEW,
+ LL_FLOOD,
};
extern int log_level;
-void usbmuxd_log(enum loglevel level, const char *fmt, ...);
+void usbmuxd_log(enum loglevel level, const char *fmt, ...) __attribute__ ((format (printf, 2, 3)));
+
#endif