rename optind and optarg to avoid some gcc warnings

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10906 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2002-04-18 08:50:08 +00:00
parent db0107fb4b
commit f676ed55e4
2 changed files with 44 additions and 43 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997 - 2001 Kungliga Tekniska H<>gskolan
* Copyright (c) 1997 - 2002 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -69,8 +69,8 @@ typedef struct getarg_strings {
typedef int (*getarg_collect_func)(int short_opt,
int argc,
char **argv,
int *optind,
int *optarg,
int *goptind,
int *goptarg,
void *data);
typedef struct getarg_collect_info {
@@ -79,7 +79,7 @@ typedef struct getarg_collect_info {
} getarg_collect_info;
int getarg(struct getargs *args, size_t num_args,
int argc, char **argv, int *optind);
int argc, char **argv, int *goptind);
void arg_printusage (struct getargs *args,
size_t num_args,