aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-04-12 18:06:41 +0000
committerYang Tse <yangsita@gmail.com>2007-04-12 18:06:41 +0000
commit8aae15b6300cffed594053265b9c1aaf3e7fb7c6 (patch)
treeb44f1bc527ca1c153786a3a2c11ac4d33e1fe2d3 /ares
parent88bf2a2dc71e68d76d296fe31db275dd07306959 (diff)
Rename function as ares_getopt()
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 */