qemu-e2k/slirp
Blue Swirl 00aa0040e8 Wrap recv to avoid warnings
Avoid warnings like these by wrapping recv():
  CC    slirp/ip_icmp.o
/src/qemu/slirp/ip_icmp.c: In function 'icmp_receive':
/src/qemu/slirp/ip_icmp.c:418:5: error: passing argument 2 of 'recv' from incompatible pointer type [-Werror]
/usr/local/lib/gcc/i686-mingw32msvc/4.6.0/../../../../i686-mingw32msvc/include/winsock2.h:547:32: note: expected 'char *' but argument is of type 'struct icmp *'

Remove also casts used to avoid warnings.

Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2011-07-25 14:38:56 +00:00
..
bootp.c net: fix trace when debug is activated in slirp 2011-03-05 12:00:51 +00:00
bootp.h
cksum.c
COPYRIGHT
debug.h
if.c
if.h
ip_icmp.c Wrap recv to avoid warnings 2011-07-25 14:38:56 +00:00
ip_icmp.h slirp: Forward ICMP echo requests via unprivileged sockets 2011-07-23 10:19:50 -05:00
ip_input.c slirp: Forward ICMP echo requests via unprivileged sockets 2011-07-23 10:19:50 -05:00
ip_output.c slirp: Replace m_freem with m_free 2011-07-23 10:19:49 -05:00
ip.h
libslirp.h
main.h
mbuf.c Fix build from previous commit 2011-02-14 14:24:24 -06:00
mbuf.h slirp: Replace m_freem with m_free 2011-07-23 10:19:49 -05:00
misc.c slirp: Forward ICMP echo requests via unprivileged sockets 2011-07-23 10:19:50 -05:00
misc.h
sbuf.c
sbuf.h
slirp_config.h
slirp.c Wrap recv to avoid warnings 2011-07-25 14:38:56 +00:00
slirp.h slirp: Forward ICMP echo requests via unprivileged sockets 2011-07-23 10:19:50 -05:00
socket.c Wrap recv to avoid warnings 2011-07-25 14:38:56 +00:00
socket.h
tcp_input.c slirp: Replace m_freem with m_free 2011-07-23 10:19:49 -05:00
tcp_output.c
tcp_subr.c slirp: Replace m_freem with m_free 2011-07-23 10:19:49 -05:00
tcp_timer.c
tcp_timer.h
tcp_var.h
tcp.h
tcpip.h
tftp.c slirp: Remove some type casts caused by bad declaration of x.tp_buf 2011-02-25 15:58:59 +00:00
tftp.h slirp: Remove some type casts caused by bad declaration of x.tp_buf 2011-02-25 15:58:59 +00:00
udp.c slirp: Replace m_freem with m_free 2011-07-23 10:19:49 -05:00
udp.h