aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-11-20 14:11:06 +0000
committerYang Tse <yangsita@gmail.com>2009-11-20 14:11:06 +0000
commitced1e1e7267df300094936b576b19810a6b4f8df (patch)
tree4b377e5692b095772f802531a023c5bdde892f27
parenta41493b3b0eaa83a907b4c3dbbab1297791ead97 (diff)
Add missing external API decoration for ares_set_socket_callback()
-rw-r--r--ares/ares.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ares/ares.h b/ares/ares.h
index 9f4feebf9..e79debddb 100644
--- a/ares/ares.h
+++ b/ares/ares.h
@@ -314,9 +314,9 @@ CARES_EXTERN void ares_destroy(ares_channel channel);
CARES_EXTERN void ares_cancel(ares_channel channel);
-void ares_set_socket_callback(ares_channel channel,
- ares_sock_create_callback callback,
- void *user_data);
+CARES_EXTERN void ares_set_socket_callback(ares_channel channel,
+ ares_sock_create_callback callback,
+ void *user_data);
CARES_EXTERN void ares_send(ares_channel channel,
const unsigned char *qbuf,