Rename function as ares_getopt()
This commit is contained in:
parent
88bf2a2dc7
commit
8aae15b630
@ -64,14 +64,11 @@ char *optarg; /* argument associated with option */
|
|||||||
#define EMSG ""
|
#define EMSG ""
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* getopt --
|
* ares_getopt --
|
||||||
* Parse argc/argv argument vector.
|
* Parse argc/argv argument vector.
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
getopt(nargc, nargv, ostr)
|
ares_getopt(int nargc, char * const nargv[], const char *ostr)
|
||||||
int nargc;
|
|
||||||
char * const *nargv;
|
|
||||||
const char *ostr;
|
|
||||||
{
|
{
|
||||||
static char *place = EMSG; /* option letter processing */
|
static char *place = EMSG; /* option letter processing */
|
||||||
char *oli; /* option letter list index */
|
char *oli; /* option letter list index */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user