diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-08-29 15:17:47 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-08-29 15:17:47 +0000 |
commit | 7c621cfbdf03ce0d2a266407fb49fc8ccfdf250f (patch) | |
tree | b9235d62a58ce8a6950bf2a81d1db6b25c7bb398 /ares/ares_version.h | |
parent | 5acadc9cd7a1ff40ffa8d57214c90d8c788b2b03 (diff) |
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/ares_version.h')
-rw-r--r-- | ares/ares_version.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ares/ares_version.h b/ares/ares_version.h index 976540191..cf4491f68 100644 --- a/ares/ares_version.h +++ b/ares/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 |