From 7a7befd37b57ffca6b28fc89c880f2c3d5452e63 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 20 Nov 2009 14:11:06 +0000 Subject: [PATCH] Add missing external API decoration for ares_set_socket_callback() --- ares.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ares.h b/ares.h index 9f4feebf..e79debdd 100644 --- a/ares.h +++ b/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,