diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2014-10-31 09:26:28 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2014-11-12 10:25:00 +1000 |
commit | 79b9d33545034f2952ebc7e444c201693b45f44b (patch) | |
tree | ff2b1b5c8660e70e0fa74009c442388ee2e1a190 /hw/xwayland | |
parent | adee4f239b5074d318dfc48beb0ec4e91973b449 (diff) |
xwayland: declare fatal log handler as noreturn
xwayland.c:661:1: warning: function 'xwl_log_handler' could be declared with
attribute 'noreturn' [-Wmissing-noreturn]
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'hw/xwayland')
-rw-r--r-- | hw/xwayland/xwayland.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/xwayland/xwayland.c b/hw/xwayland/xwayland.c index 913296947..37d6d8270 100644 --- a/hw/xwayland/xwayland.c +++ b/hw/xwayland/xwayland.c @@ -656,6 +656,7 @@ xwl_screen_init(ScreenPtr pScreen, int argc, char **argv) return ret; } +_X_NORETURN static void _X_ATTRIBUTE_PRINTF(1, 0) xwl_log_handler(const char *format, va_list args) { |