Commit 8aae15b6 authored by Yang Tse's avatar Yang Tse
Browse files

Rename function as ares_getopt()

parent 88bf2a2d
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -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 */