aboutsummaryrefslogtreecommitdiff
path: root/ares/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
commit0563a7a9238843b5c4a0338452999c8c26623198 (patch)
tree211ce60c12203bd52b9b054a77eb60e5f8b4488b /ares/ares_getopt.c
parent945ba7cb7ed834762400b832d3201d4dbbb8679a (diff)
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/ares_getopt.c')
-rw-r--r--ares/ares_getopt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ares/ares_getopt.c b/ares/ares_getopt.c
index a14b6da30..c3e81fc40 100644
--- a/ares/ares_getopt.c
+++ b/ares/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;