summaryrefslogtreecommitdiff
path: root/ares_version.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-08-29 15:17:47 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-08-29 15:17:47 +0000
commit1bec3073dc3ef1f22981f289edb8985b1ecb8a9b (patch)
tree398a3ad1efb43a0a09658799d2b9cc0e6469569d /ares_version.h
parent70a27de3c5cce31b22856f824bcf55e0540b593e (diff)
downloadc-ares-1bec3073dc3ef1f22981f289edb8985b1ecb8a9b.tar.gz
c-ares-1bec3073dc3ef1f22981f289edb8985b1ecb8a9b.tar.bz2
c-ares-1bec3073dc3ef1f22981f289edb8985b1ecb8a9b.zip
Brad Spencer did
o made ares_version.h use extern "C" for c++ compilers o fixed compiler warnings in ares_getnameinfo.c o fixed a buffer position init for TCP reads
Diffstat (limited to 'ares_version.h')
-rw-r--r--ares_version.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ares_version.h b/ares_version.h
index 9765401..cf4491f 100644
--- a/ares_version.h
+++ b/ares_version.h
@@ -11,7 +11,15 @@
(ARES_VERSION_PATCH))
#define ARES_VERSION_STR "1.3.1"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
const char *ares_version(int *version);
+#ifdef __cplusplus
+}
+#endif
+
#endif