diff options
author | Colin Watson <cjwatson@debian.org> | 2022-01-09 00:32:11 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2022-01-09 00:32:11 +0000 |
commit | b1974937b100fe46027cd7b3f9ebc9fed479ed9d (patch) | |
tree | cdca8acc6f71247f87ce654809318abcdc605126 /src/tests | |
parent | 84b6689805b971b1a229f060a92658571c1daa07 (diff) |
Use MAYBE_UNUSED rather than _GL_UNUSED
We should be using the public name from Gnulib's `attribute.h`.
* lib/orderfiles.c (order_files) [!HAVE_LINUX_FIEMAP_H &&
!HAVE_POSIX_FADVISE]: Use MAYBE_UNUSED rather than _GL_UNUSED.
* lib/sandbox.c (_sandbox_load) [!HAVE_LIBSECCOMP]: Likewise.
* lib/security.c (drop_privs): Likewise.
* libdb/db_ndbm.c (unsorted_nextkey): Likewise.
* src/accessdb.c (help_filter): Likewise.
* src/check_mandirs.c (chown_if_possible) [!MAN_OWNER]: Likewise.
* src/convert.c (close_conv_to_locale): Likewise.
* src/decompress.c (decompress_zlib): Likewise.
* src/lexgrog_test.c (help_filter): Likewise.
* src/man.c (help_filter, squeeze_blank_lines, disable_hyphenation,
disable_justification): Likewise.
* src/manconv.c (manconv): Likewise.
* src/manp.c (free_config_file): Likewise.
* src/tests/fspause.c (main): Likewise.
* src/whatis.c (help_filter): Likewise.
* src/zsoelim_main.c (parse_opt): Likewise.
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/fspause.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/fspause.c b/src/tests/fspause.c index 092fbb4f..4f573c62 100644 --- a/src/tests/fspause.c +++ b/src/tests/fspause.c @@ -32,6 +32,7 @@ #include <time.h> #include <unistd.h> +#include "attribute.h" #include "progname.h" #include "stat-time.h" #include "timespec.h" @@ -84,7 +85,7 @@ static int try_delay (struct stat *st, int delay_ns) return timespec_cmp (start_ts, end_ts) != 0; } -int main (int argc _GL_UNUSED, char **argv) +int main (int argc MAYBE_UNUSED, char **argv) { struct stat st; int delay_ns; |