From: Eric Blake Date: Fri, 19 Mar 2010 12:29:16 +0000 (-0600) Subject: getopt: avoid compiler warning X-Git-Tag: v0.1~4484 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=71328e33511a5de1c0bbdbfd5fa4b5848aac12a6;p=gnulib.git getopt: avoid compiler warning * lib/getopt.c (attribute_hidden): Remove unused macro. Signed-off-by: Eric Blake --- 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.