projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix autoreconf invocation.
[gnulib.git]
/
lib
/
getopt1.c
diff --git
a/lib/getopt1.c
b/lib/getopt1.c
index
2ceff8e
..
5acd224
100644
(file)
--- a/
lib/getopt1.c
+++ b/
lib/getopt1.c
@@
-15,7
+15,7
@@
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation,
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation,
- Inc., 5
9 Temple Place - Suite 330, Boston, MA 02111-1307
, USA. */
+ Inc., 5
1 Franklin Street, Fifth Floor, Boston, MA 02110-1301
, USA. */
\f
#ifdef HAVE_CONFIG_H
#include <config.h>
\f
#ifdef HAVE_CONFIG_H
#include <config.h>
@@
-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