summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-21 05:50:46 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-08-21 05:50:46 (GMT)
commitd782cafa49d23f2dce9061d4cdd7cfe0a36d8ff5 (patch)
tree811e316552e92c64db5eedad059c2265063845bd /misc
parenta845e556b61e98a1d167721c76841ac0d63ee002 (diff)
downloadeeshow-d782cafa49d23f2dce9061d4cdd7cfe0a36d8ff5.zip
eeshow-d782cafa49d23f2dce9061d4cdd7cfe0a36d8ff5.tar.gz
eeshow-d782cafa49d23f2dce9061d4cdd7cfe0a36d8ff5.tar.bz2
eeshow/util/diag.h (pfatal): mark as "noreturn"
Diffstat (limited to 'misc')
-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);