diff options
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/include/getopt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/include/getopt.h b/newlib/libc/include/getopt.h index 13cf99c5f..ba8da4a7f 100644 --- a/newlib/libc/include/getopt.h +++ b/newlib/libc/include/getopt.h @@ -164,6 +164,7 @@ extern "C" (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)); @@ -177,6 +178,7 @@ extern "C" (int __argc, char *const __argv[], const char *__shortopts, const struct option * __longopts, int *__longind, struct getopt_data * __data)); +#endif /* __need_getopt_newlib */ #ifdef __cplusplus }; |