summaryrefslogtreecommitdiff
path: root/source4/lib/json
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/json')
-rw-r--r--source4/lib/json/debug.c2
-rw-r--r--source4/lib/json/linkhash.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/json/debug.c b/source4/lib/json/debug.c
index eaa6fca33c..a315b0e2a4 100644
--- a/source4/lib/json/debug.c
+++ b/source4/lib/json/debug.c
@@ -41,7 +41,7 @@ extern void mc_set_syslog(int syslog)
_syslog = syslog;
}
-void mc_abort(const char *msg, ...)
+_NORETURN_ void mc_abort(const char *msg, ...)
{
va_list ap;
va_start(ap, msg);
diff --git a/source4/lib/json/linkhash.c b/source4/lib/json/linkhash.c
index 6cfc9a0ea6..b04254b597 100644
--- a/source4/lib/json/linkhash.c
+++ b/source4/lib/json/linkhash.c
@@ -20,7 +20,7 @@
#include "linkhash.h"
-void lh_abort(const char *msg, ...)
+_NORETURN_ void lh_abort(const char *msg, ...)
{
va_list ap;
va_start(ap, msg);