diff options
author | Yang Tse <yangsita@gmail.com> | 2007-04-12 18:59:46 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2007-04-12 18:59:46 +0000 |
commit | ddbe06ca13521e8492bb731e2a79de47f88e996c (patch) | |
tree | a0cea33c407b4faeb443f265e704fde14ab55a6b /ares_getopt.c | |
parent | 8776d1564b7de0f5b827b74937474c0a9746fb1c (diff) | |
download | c-ares-ddbe06ca13521e8492bb731e2a79de47f88e996c.tar.gz c-ares-ddbe06ca13521e8492bb731e2a79de47f88e996c.tar.bz2 c-ares-ddbe06ca13521e8492bb731e2a79de47f88e996c.zip |
add ares_getopt prototype
Diffstat (limited to 'ares_getopt.c')
-rw-r--r-- | ares_getopt.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ares_getopt.c b/ares_getopt.c index 738e707..a14b6da 100644 --- a/ares_getopt.c +++ b/ares_getopt.c @@ -44,9 +44,12 @@ * #endif */ +#include "setup.h" + #include <stdio.h> #include <stdlib.h> #include <string.h> +#include "ares.h" /* declarations to provide consistent linkage */ extern char *optarg; @@ -61,7 +64,7 @@ char *optarg; /* argument associated with option */ #define BADCH (int)'?' #define BADARG (int)':' -#define EMSG "" +#define EMSG (char *)"" /* * ares_getopt -- |