From 31861f663a440df498bdb7788fa43aa9d03133c5 Mon Sep 17 00:00:00 2001 From: Pádraig Brady Date: Tue, 19 Feb 2013 10:58:51 +0000 Subject: maint: cleanup up various uses of __attribute__ * src/cfg.mk (sc_prohibit-gl-attributes): Disallow the __attribute() form without trailing underscores as that is not elided where required. Also ensure we use gnulib macros rather than defining our own. * src/system.h: Remove gnulib provided macros. * src/chown-core.c: Likewise. * src/chroot.c: Likewise. * src/copy.c: Likewise. * src/csplit.c: Likewise. * src/dd.c: Likewise. * src/expr.c: Likewise. * src/extent-scan.c: Likewise. * src/factor.c: Likewise. * src/ls.c: Likewise. * src/od.c: Likewise. * src/paste.c: Likewise. * src/ptx.c: Likewise. * src/sort.c: Likewise. * src/stat.c: Likewise. * src/stty.c: Likewise. * src/system.h: Likewise. * src/tac.c: Likewise. * src/test.c: Likewise. * src/tsort.c: Likewise. --- src/stty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stty.c') diff --git a/src/stty.c b/src/stty.c index ee891a593..e518839d5 100644 --- a/src/stty.c +++ b/src/stty.c @@ -745,7 +745,7 @@ main (int argc, char **argv) int argi = 0; int opti = 1; bool require_set_attr; - bool speed_was_set ATTRIBUTE_UNUSED; + bool speed_was_set _GL_UNUSED; bool verbose_output; bool recoverable_output; int k; -- cgit v1.2.3-54-g00ecf