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
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
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
tftp.h
udp.c slirp: Replace m_freem with m_free 2011-07-23 10:19:49 -05:00
udp.h