summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/log.h9
-rw-r--r--include/plugin.h2
2 files changed, 7 insertions, 4 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:
diff --git a/include/plugin.h b/include/plugin.h
index 4b01ad43..7c133e39 100644
--- a/include/plugin.h
+++ b/include/plugin.h
@@ -1,6 +1,6 @@
/*
*
- * oFono - Open Telephony stack for Linux
+ * oFono - Open Source Telephony
*
* Copyright (C) 2008-2009 Intel Corporation. All rights reserved.
*