X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fopenat.h;h=b26571f8246e2184f82386a9849d1ce3b005ce36;hb=8f9c414718161f157f9970b3c97b977d0343093e;hp=5cb186652f6d85381a9eb0317c686ec7dfa8ed1c;hpb=59b191ed5bcff4198c9c89d0d52cec1880b9568d;p=gnulib.git diff --git a/lib/openat.h b/lib/openat.h index 5cb186652..b26571f82 100644 --- a/lib/openat.h +++ b/lib/openat.h @@ -27,12 +27,6 @@ #include #include -#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 8) -# define _GL_ATTRIBUTE_NORETURN __attribute__ ((__noreturn__)) -#else -# define _GL_ATTRIBUTE_NORETURN /* empty */ -#endif - #if !HAVE_OPENAT int openat_permissive (int fd, char const *file, int flags, mode_t mode, @@ -47,8 +41,8 @@ bool openat_needs_fchdir (void); #endif -void openat_restore_fail (int) _GL_ATTRIBUTE_NORETURN; -void openat_save_fail (int) _GL_ATTRIBUTE_NORETURN; +_Noreturn void openat_restore_fail (int); +_Noreturn void openat_save_fail (int); /* Using these function names makes application code slightly more readable than it would be with