From 6f0f20dc0cefe96209f57099a92f7c6ace7cc5fd Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 29 Oct 2022 11:37:24 -0700 Subject: Mark usage() as _X_COLD _X_NORETURN Suggested by clang: xcompmgr.c:1963:1: warning: function 'usage' could be declared with attribute 'noreturn' [-Wmissing-noreturn] { ^ Signed-off-by: Alan Coopersmith --- xcompmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xcompmgr.c') diff --git a/xcompmgr.c b/xcompmgr.c index 55e2085..4443779 100644 --- a/xcompmgr.c +++ b/xcompmgr.c @@ -1958,7 +1958,7 @@ ev_window (XEvent *ev) } #endif -static void +static void _X_COLD _X_NORETURN usage (const char *program) { fprintf (stderr, "%s v%s\n", program, PACKAGE_VERSION); -- cgit v1.2.3