From 79b9d33545034f2952ebc7e444c201693b45f44b Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 31 Oct 2014 09:26:28 +1000 Subject: [PATCH] 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 --- hw/xwayland/xwayland.c | 1 + 1 file changed, 1 insertion(+) 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) {