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.
This commit is contained in:
parent
5391a40c89
commit
85191fc5aa
|
@ -1,3 +1,9 @@
|
||||||
|
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>
|
2009-10-07 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* libc/locale/nl_langinfo.c (nl_langinfo): Just return current locale
|
* libc/locale/nl_langinfo.c (nl_langinfo): Just return current locale
|
||||||
|
|
|
@ -164,6 +164,7 @@ extern "C"
|
||||||
(int __argc, char *const __argv[], const char *__shortopts,
|
(int __argc, char *const __argv[], const char *__shortopts,
|
||||||
const struct option * __longopts, int *__longind));
|
const struct option * __longopts, int *__longind));
|
||||||
|
|
||||||
|
#ifdef __need_getopt_newlib
|
||||||
int _EXFUN (__getopt_r,
|
int _EXFUN (__getopt_r,
|
||||||
(int __argc, char *const __argv[], const char *__optstring,
|
(int __argc, char *const __argv[], const char *__optstring,
|
||||||
struct getopt_data * __data));
|
struct getopt_data * __data));
|
||||||
|
@ -177,6 +178,7 @@ extern "C"
|
||||||
(int __argc, char *const __argv[], const char *__shortopts,
|
(int __argc, char *const __argv[], const char *__shortopts,
|
||||||
const struct option * __longopts, int *__longind,
|
const struct option * __longopts, int *__longind,
|
||||||
struct getopt_data * __data));
|
struct getopt_data * __data));
|
||||||
|
#endif /* __need_getopt_newlib */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue