From 7959d907197d2f674e0bf295341ff3f997628d8f Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 7 Oct 2016 19:45:48 +0100 Subject: 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 --- tools/dbus-launch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/dbus-launch.h') 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; -- cgit v1.2.1