summaryrefslogtreecommitdiff
path: root/include/resolv.h
diff options
context:
space:
mode:
authorDavid McCullough <davidm@snapgear.com>2001-07-11 13:47:45 +0000
committerDavid McCullough <davidm@snapgear.com>2001-07-11 13:47:45 +0000
commitce8ee8d9b401c9c2828df3457815c2f4ceed4900 (patch)
treefc27874f9403ddfd24357f56d87d6ffe08d8ae19 /include/resolv.h
parent5882811b88767f26c75913ca2b2fffd05595a7b5 (diff)
Added __BEGIN_DECLS and __END_DECLS to the files that didn't have
it and that I could see needed it. Should be pretty low impact as these are only defined when using C++.
Diffstat (limited to 'include/resolv.h')
-rw-r--r--include/resolv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/resolv.h b/include/resolv.h
index e988347ad..9ac45959a 100644
--- a/include/resolv.h
+++ b/include/resolv.h
@@ -23,6 +23,8 @@
#include <stdio.h>
#include <netinet/in.h>
+__BEGIN_DECLS
+
struct resolv_header {
int id;
int qr,opcode,aa,tc,rd,ra,rcode;
@@ -83,4 +85,6 @@ extern int res_init(void);
extern int res_query(const char *dname, int class, int type,
unsigned char *answer, int anslen);
+__END_DECLS
+
#endif /*_RESOLV_H_*/