summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr/src/head/err.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/usr/src/head/err.h b/usr/src/head/err.h
index ee76fb21db..b463836cb8 100644
--- a/usr/src/head/err.h
+++ b/usr/src/head/err.h
@@ -26,20 +26,19 @@
#ifndef _ERR_H
#define _ERR_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#ifdef __cplusplus
extern "C" {
#endif
#include <stdio.h>
#include <stdarg.h>
+#include <sys/ccompile.h>
/* Program exit and warning calls */
-void err(int, const char *, ...);
-void verr(int, const char *, va_list);
-void errx(int, const char *, ...);
-void verrx(int, const char *, va_list);
+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) __NORETURN;
void warn(const char *, ...);
void vwarn(const char *, va_list);
void warnx(const char *, ...);