summaryrefslogtreecommitdiff
path: root/misc/diag.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc/diag.h')
-rw-r--r--misc/diag.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/diag.h b/misc/diag.h
index 025b791..0184f15 100644
--- a/misc/diag.h
+++ b/misc/diag.h
@@ -28,7 +28,7 @@ extern unsigned verbose;
/* perror, based on "fatal" or "error" */
-void diag_pfatal(const char *s);
+void __attribute__((noreturn)) diag_pfatal(const char *s);
void diag_perror(const char *s);