projects
/
platform
/
upstream
/
c-ares.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14cb127
)
Change recvfrom's sixth argument data type to the 'historically standard' 'int'
author
Yang Tse
<yangsita@gmail.com>
Mon, 21 Jul 2008 18:24:32 +0000
(18:24 +0000)
committer
Yang Tse
<yangsita@gmail.com>
Mon, 21 Jul 2008 18:24:32 +0000
(18:24 +0000)
data type for systems where this sixth argument is prototyped as a void pointer.
Start of thread: http://curl.haxx.se/mail/lib-2008-07/0153.html
setup_once.h
patch
|
blob
|
history
diff --git
a/setup_once.h
b/setup_once.h
index
e1c5af2
..
4a71c29
100644
(file)
--- a/
setup_once.h
+++ b/
setup_once.h
@@
-223,7
+223,7
@@
struct timeval {
#ifdef RECVFROM_TYPE_ARG6_IS_VOID
-# define RECVFROM_ARG6_T
unsigned
int
+# define RECVFROM_ARG6_T int
#else
# define RECVFROM_ARG6_T RECVFROM_TYPE_ARG6
#endif