lib/util: declare smb_panic_default() as _NORETURN_
authorStefan Metzmacher <metze@samba.org>
Wed, 26 Feb 2014 06:37:13 +0000 (07:37 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 2 Apr 2014 07:03:42 +0000 (09:03 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/util/fault.c

index 13d29dbd7f7ef3db4e6a12d51dc1cd20253e1398..78d91775472aa0dace5718360a587f1ed4512555 100644 (file)
@@ -114,6 +114,7 @@ _PUBLIC_ const char *panic_action = NULL;
 /*
    default smb_panic() implementation
 */
+static void smb_panic_default(const char *why) _NORETURN_;
 static void smb_panic_default(const char *why)
 {
 #if defined(HAVE_PRCTL) && defined(PR_SET_PTRACER)