summaryrefslogtreecommitdiff
path: root/config-win32.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-07-17 03:07:54 +0000
committerYang Tse <yangsita@gmail.com>2008-07-17 03:07:54 +0000
commit2aeb0314f57e299089e90122ca9c375c91bd56af (patch)
treef32b8dcff866082643d9efdeda33f9f472b06e39 /config-win32.h
parent7dd6d7cbe13a7b55a52be0bdf6499ca809ea8523 (diff)
downloadc-ares-2aeb0314f57e299089e90122ca9c375c91bd56af.tar.gz
c-ares-2aeb0314f57e299089e90122ca9c375c91bd56af.tar.bz2
c-ares-2aeb0314f57e299089e90122ca9c375c91bd56af.zip
RECVFROM_TYPE_ARG2, RECVFROM_TYPE_ARG5 and RECVFROM_TYPE_ARG6 are now defined
to the data type pointed by its respective argument and not the pointer type.
Diffstat (limited to 'config-win32.h')
-rw-r--r--config-win32.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/config-win32.h b/config-win32.h
index 8e621a4..eb8fed7 100644
--- a/config-win32.h
+++ b/config-win32.h
@@ -3,7 +3,7 @@
/* $Id$ */
-/* Copyright (C) 2004 - 2006 by Daniel Stenberg et al
+/* Copyright (C) 2004 - 2008 by Daniel Stenberg et al
*
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose and without fee is hereby granted, provided
@@ -103,8 +103,8 @@
/* Define to the type of arg 1 for recvfrom. */
#define RECVFROM_TYPE_ARG1 SOCKET
-/* Define to the type of arg 2 for recvfrom. */
-#define RECVFROM_TYPE_ARG2 char *
+/* Define to the type pointed by arg 2 for recvfrom. */
+#define RECVFROM_TYPE_ARG2 char
/* Define to the type of arg 3 for recvfrom. */
#define RECVFROM_TYPE_ARG3 int
@@ -112,11 +112,11 @@
/* Define to the type of arg 4 for recvfrom. */
#define RECVFROM_TYPE_ARG4 int
-/* Define to the type of arg 5 for recvfrom. */
-#define RECVFROM_TYPE_ARG5 struct sockaddr *
+/* Define to the type pointed by arg 5 for recvfrom. */
+#define RECVFROM_TYPE_ARG5 struct sockaddr
-/* Define to the type of arg 6 for recvfrom. */
-#define RECVFROM_TYPE_ARG6 int *
+/* Define to the type pointed by arg 6 for recvfrom. */
+#define RECVFROM_TYPE_ARG6 int
/* Define to the function return type for recvfrom. */
#define RECVFROM_TYPE_RETV int