aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2005-12-18 20:24:35 +0000
committerYang Tse <yangsita@gmail.com>2005-12-18 20:24:35 +0000
commit5fd8dd2dcef3579522f86012305e8e31ea5d1247 (patch)
tree573c1f37db8992b409f7673db7e1743500afb7e9 /ares
parent0ad3e046a43bfa18f86ae9b32b7ee585d06e2b35 (diff)
When checking the type of the first argument of getnameinfo do it in the
following order: 'struct sockaddr *' 'const struct sockaddr *' 'void *'.
Diffstat (limited to 'ares')
-rw-r--r--ares/acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/ares/acinclude.m4 b/ares/acinclude.m4
index 3b0572041..56391fc31 100644
--- a/ares/acinclude.m4
+++ b/ares/acinclude.m4
@@ -202,7 +202,7 @@ AC_DEFUN([CURL_FUNC_GETNAMEINFO_ARGTYPES], [
AC_CACHE_CHECK([types of arguments for getnameinfo],
[curl_cv_func_getnameinfo_args], [
curl_cv_func_getnameinfo_args="unknown"
- for gni_arg1 in 'const struct sockaddr *' 'struct sockaddr *' 'void *' 'char *'; do
+ for gni_arg1 in 'struct sockaddr *' 'const struct sockaddr *' 'void *'; do
for gni_arg2 in 'socklen_t' 'size_t' 'int'; do
for gni_arg46 in 'size_t' 'int' 'socklen_t'; do
for gni_arg7 in 'int' 'unsigned int'; do