getopt: avoid compiler warning
authorEric Blake <eblake@redhat.com>
Fri, 19 Mar 2010 12:29:16 +0000 (06:29 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 19 Mar 2010 13:04:13 +0000 (07:04 -0600)
* lib/getopt.c (attribute_hidden): Remove unused macro.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
lib/getopt.c

index 58be46ae6a0566479f12244a5c3b97984b1b324d..6788707871f88ce3e1e7a2a5fe97ef1b3de8b8d2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-03-19  Eric Blake  <eblake@redhat.com>
+
+       getopt: avoid compiler warning
+       * lib/getopt.c (attribute_hidden): Remove unused macro.
+
 2010-03-18  Bruno Haible  <bruno@clisp.org>
 
        Fix link errors on Solaris 8.
index 406d5b71a3d18b9ea3213c1693bc7454ef59eeee..aaabc8d1976c14b56788301a09919a21e8ad206b 100644 (file)
 # include <wchar.h>
 #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.