]> Savannah Git Hosting - gnulib.git/commit
openat-die: use _Noreturn markup
authorEric Blake <eblake@redhat.com>
Wed, 30 Jul 2014 21:01:44 +0000 (15:01 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 31 Jul 2014 16:47:26 +0000 (10:47 -0600)
commita5f2a6d5c1682ea432e703ab30f82071b30ab30a
tree768c6fa108ff9787bae56b8fdb6ac83686b71583
parentd98277fd170f238ec97972c27d96fe5db3ed0929
openat-die: use _Noreturn markup

Compiling coreutils.git on cygwin with gcc 4.8.3, I got:

lib/openat-die.c:34:1: error: function might be candidate for attribute 'noreturn' [-Werror=suggest-attribute=noreturn]
 openat_save_fail (int errnum)
 ^

* modules/openat-die (Depends-on): Add snippet/_Noreturn.
* lib/openat-die.c (openat_save_fail, openat_restore_fail): Mark
_Noreturn.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
lib/openat-die.c
modules/openat-die