projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(INT_STRLEN_BOUND, INT_BUFSIZE_BOUND):
[gnulib.git]
/
lib
/
getopt1.c
diff --git
a/lib/getopt1.c
b/lib/getopt1.c
index
2ceff8e
..
a747237
100644
(file)
--- a/
lib/getopt1.c
+++ b/
lib/getopt1.c
@@
-41,10
+41,11
@@
#endif
int
#endif
int
-getopt_long (int argc, char **argv, const char *options,
+getopt_long (int argc, char *
__getopt_argv_const
*argv, const char *options,
const struct option *long_options, int *opt_index)
{
const struct option *long_options, int *opt_index)
{
- return _getopt_internal (argc, argv, options, long_options, opt_index, 0, 0);
+ return _getopt_internal (argc, (char **) argv, options, long_options,
+ opt_index, 0, 0);
}
int
}
int
@@
-62,10
+63,12
@@
_getopt_long_r (int argc, char **argv, const char *options,
instead. */
int
instead. */
int
-getopt_long_only (int argc, char **argv, const char *options,
+getopt_long_only (int argc, char *__getopt_argv_const *argv,
+ const char *options,
const struct option *long_options, int *opt_index)
{
const struct option *long_options, int *opt_index)
{
- return _getopt_internal (argc, argv, options, long_options, opt_index, 1, 0);
+ return _getopt_internal (argc, (char **) argv, options, long_options,
+ opt_index, 1, 0);
}
int
}
int