mirror of git://git.sysmocom.de/ofono
Add printf format attribute for error creation helper
This commit is contained in:
parent
4cd9a52f4c
commit
f261f38fd9
|
@ -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, ...);
|
||||
|
|
Loading…
Reference in New Issue