summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2023-06-11 12:17:13 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2023-06-11 12:17:13 -0700
commit104e6cd3459df1e3020bf8c27d275392c5b15531 (patch)
treee294d01b8b0a9209174efb9c91b44b399386d0a9
parent9588a366cd0ca9b38cc545a8f70ae1f70f062ee9 (diff)
Mark graceful_exit as noreturn
Suggested by clang -Wmissing-noreturn Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--xev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xev.c b/xev.c
index ed9bf3d..1c4d994 100644
--- a/xev.c
+++ b/xev.c
@@ -125,7 +125,7 @@ output(enum OutputFlags flags, const char* format, ...)
}
}
-static void
+static void _X_NORETURN
graceful_exit(int status)
{
if (single_line) {