[metacity] mark meta_exit function as noreturn
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] mark meta_exit function as noreturn
- Date: Sun, 20 Sep 2015 18:11:19 +0000 (UTC)
commit d2b6af2d2fcd029d734d68cb90898cc5252c6586
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sun Sep 20 17:15:45 2015 +0300
mark meta_exit function as noreturn
src/include/main.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/include/main.h b/src/include/main.h
index d6bf96c..e23380e 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]