summaryrefslogtreecommitdiff
path: root/ares_getopt.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-04-16 09:01:16 +0000
committerYang Tse <yangsita@gmail.com>2007-04-16 09:01:16 +0000
commitbba777d6da91eba55eb0ef6b4d2a1a2cf215fec9 (patch)
treea41857c5993eabd518e305b9160dfef9ebdcbf4f /ares_getopt.c
parentcd6a0a68b86d5d862291de1583fb55fc65e1b5d7 (diff)
downloadc-ares-bba777d6da91eba55eb0ef6b4d2a1a2cf215fec9.tar.gz
c-ares-bba777d6da91eba55eb0ef6b4d2a1a2cf215fec9.tar.bz2
c-ares-bba777d6da91eba55eb0ef6b4d2a1a2cf215fec9.zip
ares_getopt() command-line parser function does not belong to actual
c-ares library. It is just a convinience source code helper function for use in example programs adig.c and ahost.c
Diffstat (limited to 'ares_getopt.c')
-rw-r--r--ares_getopt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ares_getopt.c b/ares_getopt.c
index a14b6da..c3e81fc 100644
--- a/ares_getopt.c
+++ b/ares_getopt.c
@@ -44,12 +44,10 @@
* #endif
*/
-#include "setup.h"
-
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "ares.h"
+#include "ares_getopt.h"
/* declarations to provide consistent linkage */
extern char *optarg;