summaryrefslogtreecommitdiff
path: root/test/test-utils.c
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 /test/test-utils.c
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 'test/test-utils.c')
-rw-r--r--test/test-utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test-utils.c b/test/test-utils.c
index cb6cf1fb..3f4d1959 100644
--- a/test/test-utils.c
+++ b/test/test-utils.c
@@ -151,6 +151,8 @@ test_connection_setup (TestMainContext *ctx,
return FALSE;
}
+static void die (const char *message) _DBUS_GNUC_NORETURN;
+
static void
die (const char *message)
{