projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2efd5ff
)
Use __attribute__ marking for format strings
author
Marcel Holtmann
<marcel@holtmann.org>
Fri, 29 Oct 2010 01:51:02 +0000
(
03:51
+0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 29 Oct 2010 01:51:02 +0000
(
03:51
+0200)
src/connman.h
patch
|
blob
|
history
diff --git
a/src/connman.h
b/src/connman.h
index adca4d32a9d6a396d734d298bf90dcbc4681eb6a..e4bfe516a4345539a9d6b5ada4dfcf8f68e55489 100644
(file)
--- a/
src/connman.h
+++ b/
src/connman.h
@@
-590,5
+590,6
@@
int __connman_stats_get(struct connman_service *service,
int __connman_iptables_init(void);
void __connman_iptables_cleanup(void);
-int __connman_iptables_command(const char *format, ...);
+int __connman_iptables_command(const char *format, ...)
+ __attribute__((format(printf, 1, 2)));
int __connman_iptables_commit(const char *table_name);