svn commit: trunk/uClibc/libc/unistd

vapier at uclibc.org vapier at uclibc.org
Sat Dec 10 03:55:46 UTC 2005


Author: vapier
Date: 2005-12-09 19:55:43 -0800 (Fri, 09 Dec 2005)
New Revision: 12804

Log:
fixed unused warning

Modified:
   trunk/uClibc/libc/unistd/getopt.c


Changeset:
Modified: trunk/uClibc/libc/unistd/getopt.c
===================================================================
--- trunk/uClibc/libc/unistd/getopt.c	2005-12-10 03:54:27 UTC (rev 12803)
+++ trunk/uClibc/libc/unistd/getopt.c	2005-12-10 03:55:43 UTC (rev 12804)
@@ -225,7 +225,7 @@
 
 /* Initialize the internal data when the first call is made.  */
 
-static const char *_getopt_initialize (int argc, char *const * argv, const char *optstring)
+static const char *_getopt_initialize (attribute_unused int argc, attribute_unused char *const * argv, const char *optstring)
 {
     /* Start processing options with ARGV-element 1 (since ARGV-element 0
        is the program name); the sequence of previously skipped




More information about the uClibc-cvs mailing list