Rename function as ares_getopt()

This commit is contained in:
Yang Tse 2007-04-12 18:06:41 +00:00
parent 88bf2a2dc7
commit 8aae15b630

View File

@ -64,14 +64,11 @@ char *optarg; /* argument associated with option */
#define EMSG ""
/*
* getopt --
* ares_getopt --
* Parse argc/argv argument vector.
*/
int
getopt(nargc, nargv, ostr)
int nargc;
char * const *nargv;
const char *ostr;
ares_getopt(int nargc, char * const nargv[], const char *ostr)
{
static char *place = EMSG; /* option letter processing */
char *oli; /* option letter list index */