From d2b6af2d2fcd029d734d68cb90898cc5252c6586 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberts=20Muktup=C4=81vels?= Date: Sun, 20 Sep 2015 17:15:45 +0300 Subject: mark meta_exit function as noreturn --- src/include/main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/main.h b/src/include/main.h index d6bf96c5..e23380ea 100644 --- a/src/include/main.h +++ b/src/include/main.h @@ -31,7 +31,7 @@ typedef enum } MetaExitCode; /* exit immediately */ -void meta_exit (MetaExitCode code); +void meta_exit (MetaExitCode code) __attribute__((noreturn)); /* g_main_loop_quit() then fall out of main() */ void meta_quit (MetaExitCode code); -- cgit v1.2.1