diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2016-10-07 19:45:48 +0100 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2016-10-13 22:44:13 +0100 |
commit | 7959d907197d2f674e0bf295341ff3f997628d8f (patch) | |
tree | 3900b99bc0bb0b28797bc39061ac54a9ec939625 /tools/dbus-launch.h | |
parent | 27b7e2b88adadd9220db16fe5a3a72e61f0e636d (diff) | |
download | dbus-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.h | 2 |
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; |