projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reorder ChangeLog entries to match the order in which the changes went
[gnulib.git]
/
lib
/
openat.h
diff --git
a/lib/openat.h
b/lib/openat.h
index
9cf7e0f
..
b26571f
100644
(file)
--- a/
lib/openat.h
+++ b/
lib/openat.h
@@
-27,12
+27,6
@@
#include <unistd.h>
#include <stdbool.h>
#include <unistd.h>
#include <stdbool.h>
-#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 8)
-# define ATTRIBUTE_NORETURN __attribute__ ((__noreturn__))
-#else
-# define ATTRIBUTE_NORETURN /* empty */
-#endif
-
#if !HAVE_OPENAT
int openat_permissive (int fd, char const *file, int flags, mode_t mode,
#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
#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
/* Using these function names makes application code
slightly more readable than it would be with