summaryrefslogtreecommitdiffstats
path: root/include/log.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel.holtmann@intel.com>2009-05-05 18:56:46 -0700
committerMarcel Holtmann <marcel.holtmann@intel.com>2009-05-05 18:56:46 -0700
commit488463da5a34ac6b44a28f322009710de032db98 (patch)
treec8eea4fbef52688462ae17beb4a287240456da29 /include/log.h
parented6c14243ded4653195d0a1d5028e643f40f6fe5 (diff)
downloadofono-488463da5a34ac6b44a28f322009710de032db98.tar.bz2
Update log and plugin functions
Diffstat (limited to 'include/log.h')
-rw-r--r--include/log.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/log.h b/include/log.h
index cdd3b0f5..47e5ec88 100644
--- a/include/log.h
+++ b/include/log.h
@@ -32,9 +32,12 @@ extern "C" {
* @short_description: Functions for logging error and debug information
*/
-extern void ofono_info(const char *format, ...);
-extern void ofono_error(const char *format, ...);
-extern void ofono_debug(const char *format, ...);
+extern void ofono_info(const char *format, ...)
+ __attribute__((format(printf, 1, 2)));
+extern void ofono_error(const char *format, ...)
+ __attribute__((format(printf, 1, 2)));
+extern void ofono_debug(const char *format, ...)
+ __attribute__((format(printf, 1, 2)));
/**
* DBG: