From 71328e33511a5de1c0bbdbfd5fa4b5848aac12a6 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 58be46ae6..678870787 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-03-18 Bruno Haible Fix link errors on Solaris 8. diff --git a/lib/getopt.c b/lib/getopt.c index 406d5b71a..aaabc8d19 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. -- 2.11.0