aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
Diffstat (limited to 'ares')
-rw-r--r--ares/ares_getopt.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/ares/ares_getopt.c b/ares/ares_getopt.c
index fc6e887da..738e70738 100644
--- a/ares/ares_getopt.c
+++ b/ares/ares_getopt.c
@@ -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 */