]> sourceware.org Git - newlib-cygwin.git/commitdiff
* include/err.h (err): Add noreturn attribute.
authorCorinna Vinschen <corinna@vinschen.de>
Wed, 2 Feb 2011 10:16:30 +0000 (10:16 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 2 Feb 2011 10:16:30 +0000 (10:16 +0000)
(errx): Ditto.
(verr): Ditto.
(verrx): Ditto.

winsup/cygwin/ChangeLog
winsup/cygwin/include/err.h

index 376618d2fe08884c323b0d6e1300c36969fcdd94..b7dad6ca13b85049d1be8fbb0253bb291b006239 100644 (file)
@@ -1,3 +1,10 @@
+2011-02-02  Corinna Vinschen  <corinna@vinschen.de>
+
+       * include/err.h (err): Add noreturn attribute.
+       (errx): Ditto.
+       (verr): Ditto.
+       (verrx): Ditto.
+
 2011-02-02  Corinna Vinschen  <corinna@vinschen.de>
 
        * path.cc (conv_path_list): Remove enclosing quotes and trailing
index d1002c527151f88d32ad81350e5e6f7f3ce1e336..21df32ece3636f992e15276e32a1bcbc2aeceb49 100644 (file)
@@ -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
 
This page took 0.030538 seconds and 5 git commands to generate.