diff options
Diffstat (limited to 'lib/getopt_int.h')
-rw-r--r-- | lib/getopt_int.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/getopt_int.h b/lib/getopt_int.h index 0c5eddeca..158a53a09 100644 --- a/lib/getopt_int.h +++ b/lib/getopt_int.h @@ -20,7 +20,7 @@ #ifndef _GETOPT_INT_H #define _GETOPT_INT_H 1 -extern int _getopt_internal (int ___argc, char *const *___argv, +extern int _getopt_internal (int ___argc, char *__getopt_argv_const *___argv, const char *__shortopts, const struct option *__longopts, int *__longind, int __long_only); @@ -110,17 +110,18 @@ struct _getopt_data default values and to clear the initialization flag. */ #define _GETOPT_DATA_INITIALIZER { 1, 1 } -extern int _getopt_internal_r (int ___argc, char *const *___argv, +extern int _getopt_internal_r (int ___argc, char *__getopt_argv_const *___argv, const char *__shortopts, const struct option *__longopts, int *__longind, int __long_only, struct _getopt_data *__data); -extern int _getopt_long_r (int ___argc, char *const *___argv, +extern int _getopt_long_r (int ___argc, char *__getopt_argv_const *___argv, const char *__shortopts, const struct option *__longopts, int *__longind, struct _getopt_data *__data); -extern int _getopt_long_only_r (int ___argc, char *const *___argv, +extern int _getopt_long_only_r (int ___argc, + char *__getopt_argv_const *___argv, const char *__shortopts, const struct option *__longopts, int *__longind, |