From 751e0be2b5e328828f9c612a75d52af52f327950 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Fri, 19 Mar 2010 06:29:16 -0600 Subject: [PATCH] getopt: avoid compiler warning * lib/getopt.c (attribute_hidden): Remove unused macro. Signed-off-by: Eric Blake --- ChangeLog | 5 +++++ lib/getopt.c | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index dca4a72..9f7717b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-03-19 Eric Blake + + getopt: avoid compiler warning + * lib/getopt.c (attribute_hidden): Remove unused macro. + 2010-02-17 Eric Blake manywarnings: add more warnings diff --git a/lib/getopt.c b/lib/getopt.c index 406d5b7..aaabc8d 100644 --- a/lib/getopt.c +++ b/lib/getopt.c @@ -41,10 +41,6 @@ # include #endif -#ifndef attribute_hidden -# define attribute_hidden -#endif - /* This version of `getopt' appears to the caller like standard Unix `getopt' but it behaves differently for the user, since it allows the user to intersperse the options with the other arguments. -- 1.6.6.1