diff lib/xstrtol.h @ 17061:2e351049200b

xstrtol.h: avoid "_Noreturn is not at beginning of declaration" warning * lib/xstrtol.h: Put "_Noreturn" before "void" in declaration, to placate gcc's -Wold-style-declaration.
author Jim Meyering <meyering@redhat.com>
date Thu, 23 Aug 2012 22:02:39 +0200 (2012-08-23)
parents 8250f2777afc
children e542fd46ad6f
line wrap: on
line diff
--- a/lib/xstrtol.h
+++ b/lib/xstrtol.h
@@ -66,7 +66,7 @@
 
    After reporting an error, exit with a failure status.  */
 
-void _Noreturn xstrtol_fatal (enum strtol_error,
+_Noreturn void xstrtol_fatal (enum strtol_error,
                               int, char, struct option const *,
                               char const *);