Rename function as ares_getopt()

pull/1/head
Yang Tse 18 years ago
parent 8438d08ff8
commit 8776d1564b
  1. 7
      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 */

Loading…
Cancel
Save