summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/include/err.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/include/err.h')
-rw-r--r--winsup/cygwin/include/err.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/winsup/cygwin/include/err.h b/winsup/cygwin/include/err.h
index d1002c527..21df32ece 100644
--- a/winsup/cygwin/include/err.h
+++ b/winsup/cygwin/include/err.h
@@ -1,6 +1,6 @@
/* err.h
- Copyright 2003 Red Hat, Inc.
+ Copyright 2003, 2011 Red Hat, Inc.
This file is part of Cygwin.
@@ -16,17 +16,17 @@ details. */
__BEGIN_DECLS
-extern void warn (const char *fmt, ...);
-extern void warnx (const char *fmt, ...);
+extern void warn (const char *fmt, ...)
+extern void warnx (const char *fmt, ...)
-extern void err (int eval, const char *fmt, ...);
-extern void errx (int eval, const char *fmt, ...);
+extern void err (int eval, const char *fmt, ...) __attribute__ ((__noreturn__));
+extern void errx (int eval, const char *fmt, ...) __attribute__ ((__noreturn__));
extern void vwarn (const char *fmt, va_list ap);
extern void vwarnx (const char *fmt, va_list ap);
-extern void verr (int eval, const char *fmt, va_list ap);
-extern void verrx (int eval, const char *fmt, va_list ap);
+extern void verr (int eval, const char *fmt, va_list ap) __attribute__ ((__noreturn__));
+extern void verrx (int eval, const char *fmt, va_list ap) __attribute__ ((__noreturn__));
__END_DECLS