summaryrefslogtreecommitdiff
path: root/lib/xstrtol.h
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-08-23 22:02:39 +0200
committerJim Meyering <meyering@redhat.com>2012-08-24 11:36:00 +0200
commit1ba1387ffbf3e352e50960a0fcbe4fdc7580de5e (patch)
tree016a75bcb8045eca0111eb7e8d7ad3bbdee01490 /lib/xstrtol.h
parent0815bd3d34b072659e4e2c8c97241fe2ccae1cd6 (diff)
downloadgnulib-1ba1387ffbf3e352e50960a0fcbe4fdc7580de5e.tar.gz
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.
Diffstat (limited to 'lib/xstrtol.h')
-rw-r--r--lib/xstrtol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xstrtol.h b/lib/xstrtol.h
index 516ac5655f..b0dd122785 100644
--- a/lib/xstrtol.h
+++ b/lib/xstrtol.h
@@ -66,7 +66,7 @@ _DECLARE_XSTRTOL (xstrtoull, unsigned long long int)
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 *);