ref: 9e24c26468918e53a844394eaeae93ca2db29905
parent: c1213f536beb7d221ea77740491b83b6fad66389
author: Anthony J. Bentley <[email protected]>
date: Thu Nov 6 16:36:27 EST 2014
Specify _Noreturn in the err family prototypes.
--- a/include/extern/err.h
+++ b/include/extern/err.h
@@ -49,10 +49,10 @@
void warnx(const char *, ...);
void vwarnx(const char *, va_list);
-void err(int, const char *, ...);
-void verr(int, const char *, va_list);
-void errx(int, const char *, ...);
-void verrx(int, const char *, va_list);
+_Noreturn void err(int, const char *, ...);
+_Noreturn void verr(int, const char *, va_list);
+_Noreturn void errx(int, const char *, ...);
+_Noreturn void verrx(int, const char *, va_list);
#ifdef __cplusplus
}