Diff between 6091252927e5ab6a0ce09b89857392914f93ca88 and 3b850f2b8bb177f1efd85dc353cf0115cd1a4723

Changed Files

File Additions Deletions Status
obexd/src/logging.h +3 -3 modified

Full Patch

diff --git a/obexd/src/logging.h b/obexd/src/logging.h
index 2b4386a..31947cf 100644
--- a/obexd/src/logging.h
+++ b/obexd/src/logging.h
@@ -21,9 +21,9 @@
  *
  */
 
-void info(const char *format, ...);
-void error(const char *format, ...);
-void debug(const char *format, ...);
+void info(const char *format, ...) __attribute__((format(printf, 1, 2)));
+void error(const char *format, ...) __attribute__((format(printf, 1, 2)));
+void debug(const char *format, ...) __attribute__((format(printf, 1, 2)));
 void obex_debug(int evt, int cmd, int rsp);
 void toggle_debug(void);
 void enable_debug(void);