diff options
author | Yang Tse <yangsita@gmail.com> | 2009-11-11 08:56:46 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-11-11 08:56:46 +0000 |
commit | ea29eeb4eb64e96848621a3d5fb7fb445c393aa6 (patch) | |
tree | 64b42a2b9f7034d27fae66c5de994a618f51adfa /ares_init.c | |
parent | c91a177d712b1d632a8b0774a5009e5d65022b0b (diff) | |
download | c-ares-ea29eeb4eb64e96848621a3d5fb7fb445c393aa6.tar.gz c-ares-ea29eeb4eb64e96848621a3d5fb7fb445c393aa6.tar.bz2 c-ares-ea29eeb4eb64e96848621a3d5fb7fb445c393aa6.zip |
Renamed fpGetNetworkParams and fpSystemFunction036 to avoid namespace pollution with static library
Diffstat (limited to 'ares_init.c')
-rw-r--r-- | ares_init.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ares_init.c b/ares_init.c index b283790..dc3e52c 100644 --- a/ares_init.c +++ b/ares_init.c @@ -581,7 +581,7 @@ static int get_iphlpapi_dns_info (char *ret_buf, size_t ret_size) if (!fi) return 0; - res = (*fpGetNetworkParams) (fi, &size); + res = (*ares_fpGetNetworkParams) (fi, &size); if ((res != ERROR_BUFFER_OVERFLOW) && (res != ERROR_SUCCESS)) goto quit; @@ -590,7 +590,7 @@ static int get_iphlpapi_dns_info (char *ret_buf, size_t ret_size) goto quit; fi = newfi; - res = (*fpGetNetworkParams) (fi, &size); + res = (*ares_fpGetNetworkParams) (fi, &size); if (res != ERROR_SUCCESS) goto quit; @@ -1503,9 +1503,9 @@ static void randomize_key(unsigned char* key,int key_data_len) int counter=0; #ifdef WIN32 BOOLEAN res; - if (fpSystemFunction036) + if (ares_fpSystemFunction036) { - res = (*fpSystemFunction036) (key, key_data_len); + res = (*ares_fpSystemFunction036) (key, key_data_len); if (res) randomized = 1; } |