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 58be46a..6788707 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 406d5b7..aaabc8d 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.