mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-26 12:20:06 +01:00
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>
This commit is contained in:
parent
adee4f239b
commit
79b9d33545
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue