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 /test/test-shell-service.c | |
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 'test/test-shell-service.c')
-rw-r--r-- | test/test-shell-service.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test-shell-service.c b/test/test-shell-service.c index 32a88329..2eaccc1d 100644 --- a/test/test-shell-service.c +++ b/test/test-shell-service.c @@ -22,6 +22,8 @@ quit (void) } } +static void die (const char *message) _DBUS_GNUC_NORETURN; + static void die (const char *message) { |