summaryrefslogtreecommitdiff
path: root/tools/dbus-launch.h
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2016-10-07 19:45:48 +0100
committerSimon McVittie <smcv@debian.org>2016-10-13 22:44:13 +0100
commit7959d907197d2f674e0bf295341ff3f997628d8f (patch)
tree3900b99bc0bb0b28797bc39061ac54a9ec939625 /tools/dbus-launch.h
parent27b7e2b88adadd9220db16fe5a3a72e61f0e636d (diff)
downloaddbus-7959d907197d2f674e0bf295341ff3f997628d8f.tar.gz
Add missing function attributes suggested by clang (but not by gcc)
clang is a little more enthusiastic about suggesting these. Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Diffstat (limited to 'tools/dbus-launch.h')
-rw-r--r--tools/dbus-launch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dbus-launch.h b/tools/dbus-launch.h
index 53827870..56596d26 100644
--- a/tools/dbus-launch.h
+++ b/tools/dbus-launch.h
@@ -42,7 +42,7 @@
#define MAX_ADDR_LEN 512
/* defined in dbus-launch.c */
-void verbose (const char *format, ...);
+void verbose (const char *format, ...) _DBUS_GNUC_PRINTF (1, 2);
char *xstrdup (const char *str);
void kill_bus_and_exit (int exitcode) _DBUS_GNUC_NORETURN;