projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
993c636
)
Add printf format attribute for error creation helper
author
Marcel Holtmann
<marcel@holtmann.org>
Thu, 19 Aug 2010 17:35:04 +0000
(19:35 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Thu, 19 Aug 2010 17:35:52 +0000
(19:35 +0200)
gdbus/gdbus.h
patch
|
blob
|
history
diff --git
a/gdbus/gdbus.h
b/gdbus/gdbus.h
index
47e18cf
..
c3e7252
100644
(file)
--- a/
gdbus/gdbus.h
+++ b/
gdbus/gdbus.h
@@
-100,7
+100,8
@@
gboolean g_dbus_unregister_interface(DBusConnection *connection,
const char *path, const char *name);
DBusMessage *g_dbus_create_error(DBusMessage *message, const char *name,
- const char *format, ...);
+ const char *format, ...)
+ __attribute__((format(printf, 3, 4)));
DBusMessage *g_dbus_create_error_valist(DBusMessage *message, const char *name,
const char *format, va_list args);
DBusMessage *g_dbus_create_reply(DBusMessage *message, int type, ...);