Skip to content
Snippets Groups Projects
Commit 8aae15b6 authored by Yang Tse's avatar Yang Tse
Browse files

Rename function as ares_getopt()

parent 88bf2a2d
No related branches found
No related tags found
No related merge requests found
...@@ -64,14 +64,11 @@ char *optarg; /* argument associated with option */ ...@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment