+2009-10-08 Eric Blake <ebb9@byu.net>
+
+ * libc/include/getopt.h (__getopt_r, __getopt_long_r)
+ (__getopt_long_only_r): Protect declarations, to avoid compiler
+ warning.
+
2009-10-07 Corinna Vinschen <corinna@vinschen.de>
* libc/locale/nl_langinfo.c (nl_langinfo): Just return current locale
(int __argc, char *const __argv[], const char *__shortopts,
const struct option * __longopts, int *__longind));
+#ifdef __need_getopt_newlib
int _EXFUN (__getopt_r,
(int __argc, char *const __argv[], const char *__optstring,
struct getopt_data * __data));
(int __argc, char *const __argv[], const char *__shortopts,
const struct option * __longopts, int *__longind,
struct getopt_data * __data));
+#endif /* __need_getopt_newlib */
#ifdef __cplusplus
};