qemu/net
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
..
checksum.c net: move net-checksum.c under net/ 2009-10-30 08:39:26 -05:00
checksum.h net: move net-checksum.c under net/ 2009-10-30 08:39:26 -05:00
dump.c Use qemu-common.h or qemu-timer.h in place of sysemu.h 2011-04-15 18:25:44 +00:00
dump.h net: move dump backend code from net.c to net/dump.c 2009-12-03 09:41:28 -06:00
queue.c net/queue: queue packets even if sender doesn't supply a callback 2009-11-09 08:43:02 -06:00
queue.h
slirp.c net: Refactor net_client_types 2011-07-23 10:19:50 -05:00
slirp.h net: move slirp code from net.c to net/slirp.c 2009-12-03 09:41:27 -06:00
socket.c Wrap recv to avoid warnings 2011-07-25 14:38:56 +00:00
socket.h net: move socket backend code from net.c to net/socket.c 2009-12-03 09:41:28 -06:00
tap-aix.c tap: add APIs for vnet header length 2010-09-07 20:27:33 +03:00
tap-bsd.c Add support for OpenBSD to QEMU's tap driver. 2010-12-21 19:44:33 +00:00
tap-haiku.c tap: Add stub for Haiku 2010-10-03 06:31:41 +00:00
tap-linux.c tap: safe sndbuf default 2011-02-01 16:50:44 -06:00
tap-linux.h tap: add APIs for vnet header length 2010-09-07 20:27:33 +03:00
tap-solaris.c tap: add APIs for vnet header length 2010-09-07 20:27:33 +03:00
tap-win32.c Fixing tap adapter for win32 2011-02-25 15:14:04 +00:00
tap.c Fix compilation warning due to missing header for sigaction (followup) 2011-06-08 09:04:29 +01:00
tap.h tap: add APIs for vnet header length 2010-09-07 20:27:33 +03:00
util.c net: move parse_macaddr() to net/util.[ch] 2009-12-03 09:41:34 -06:00
util.h net: move parse_macaddr() to net/util.[ch] 2009-12-03 09:41:34 -06:00
vde.c Remove unused sysemu.h include directives 2011-04-15 18:25:41 +00:00
vde.h net: move vde code from net.c to net/vde.c 2009-12-03 09:41:28 -06:00