From 571e8b254f7368d2361927b7b97bc8ab8d629e33 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 2 Jan 2019 23:11:27 +0100 Subject: [PATCH] common: flag mxexit that it doesn't return --- src/common/common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/common.h b/src/common/common.h index 84fdaa70d..af6cf9f73 100644 --- a/src/common/common.h +++ b/src/common/common.h @@ -111,6 +111,7 @@ using namespace std::string_literals; #define TIMESTAMP_SCALE 1000000 void mxrun_before_exit(std::function function); +[[noreturn]] void mxexit(int code = -1); void set_process_priority(int priority);