diff options
author | Jim Meyering <meyering@redhat.com> | 2012-08-23 22:02:39 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-08-24 11:36:00 +0200 |
commit | 1ba1387ffbf3e352e50960a0fcbe4fdc7580de5e (patch) | |
tree | 016a75bcb8045eca0111eb7e8d7ad3bbdee01490 /lib/xstrtol.h | |
parent | 0815bd3d34b072659e4e2c8c97241fe2ccae1cd6 (diff) | |
download | gnulib-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.h | 2 |
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 *); |