X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fopenat.h;h=b26571f8246e2184f82386a9849d1ce3b005ce36;hb=56d6664559f449af25f0d331457b014b02324d65;hp=dd0bb018d5451c578ab11e253e88f98dbdb2a76c;hpb=d60f3b0c6b0f93a601acd1cfd3923f94ca05abb0;p=gnulib.git diff --git a/lib/openat.h b/lib/openat.h index dd0bb018d..b26571f82 100644 --- a/lib/openat.h +++ b/lib/openat.h @@ -27,16 +27,6 @@ #include #include -#ifndef __attribute__ -# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8) -# define __attribute__(x) /* empty */ -# endif -#endif - -#ifndef ATTRIBUTE_NORETURN -# define ATTRIBUTE_NORETURN __attribute__ ((__noreturn__)) -#endif - #if !HAVE_OPENAT int openat_permissive (int fd, char const *file, int flags, mode_t mode, @@ -51,8 +41,8 @@ bool openat_needs_fchdir (void); #endif -void openat_restore_fail (int) ATTRIBUTE_NORETURN; -void openat_save_fail (int) 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