From 488463da5a34ac6b44a28f322009710de032db98 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 5 May 2009 18:56:46 -0700 Subject: Update log and plugin functions --- include/log.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'include/log.h') 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: -- cgit v1.2.3