maint: use noreturn, not ATTRIBUTE_NORETURN
authorJim Meyering <meyering@fb.com>
Fri, 10 Nov 2017 04:13:47 +0000 (20:13 -0800)
committerJim Meyering <meyering@fb.com>
Fri, 10 Nov 2017 04:46:03 +0000 (20:46 -0800)
commit3bd3681e0fbddf82ca7fa12af67cf139fe1e6379
tree60ed26f84b8a190c2239f30d6fb7789500eaf6a6
parent15bd3ba5d514af6a307ecefb8d109b9a65067a88
maint: use noreturn, not ATTRIBUTE_NORETURN

Use gnulib's stdnoreturn module so we can include
<stdnoreturn.h> and the "noreturn" helper macro, thus
replacing the definition and uses of ATTRIBUTE_NORETURN.
* bootstrap.conf (gnulib_modules): Add stdnoreturn.
* gzip.h (ATTRIBUTE_NORETURN): Remove definition.
Include stdnoreturn.h and use "noreturn" for each
ATTRIBUTE_NORETURN-adorned function declaration.
* gzip.c (do_exit, try_help): Use "noreturn".
bootstrap.conf
gzip.c
gzip.h
lib/.gitignore
m4/.gitignore