qemu-e2k/linux-user
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
..
alpha linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
arm linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
cris linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
i386 linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
m68k linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
microblaze linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
mips linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
mips64 linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
mipsn32 linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
ppc linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
s390x linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
sh4 linux-user: correct syscall 123 on sh4 2011-07-13 17:11:37 +03:00
sparc linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
sparc64 linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
unicore32 unicore32: add necessry headers in linux-user/unicore32 for unicore32 support 2011-04-12 18:48:43 +00:00
x86_64 linux-user: Add syscall numbers from kernel 2.6.39.2 2011-07-11 16:12:51 +03:00
cpu-uname.c
cpu-uname.h
elfload.c set ELF_HWCAP for SPARC and SPARC64 2011-07-14 17:41:29 +00:00
errno_defs.h
flat.h
flatload.c flatload: memp was a write-only variable 2011-06-21 20:30:10 +03:00
ioctls.h linux-user: Add support for even more FB ioctls 2011-07-11 16:12:18 +03:00
linux_loop.h
linuxload.c linuxload: id_change was a write only variable 2011-06-21 20:30:09 +03:00
m68k-sim.c linux-user: Fix typo m86k -> m68k 2010-10-05 13:53:56 -05:00
main.c mips: null pointer deref should segfault 2011-07-12 14:34:23 +03:00
mmap.c Fix typo in comment (truely -> truly) 2011-05-08 10:02:18 +01:00
qemu-types.h
qemu.h linux-user: Bump do_syscall() up to 8 syscall arguments 2011-06-21 20:30:10 +03:00
signal.c linux-user/signal.c: Rename s390 target_ucontext fields to fix ia64 2011-07-13 17:39:35 +03:00
socket.h
strace.c linux-user: Fix compilation for "old" linux versions 2011-05-02 10:00:01 +03:00
strace.list linux-user: improve traces 2011-04-26 10:15:40 +03:00
syscall_defs.h mips: rlimit codes are not the same 2011-07-12 14:42:00 +03:00
syscall_types.h linux-user: Add support for even more FB ioctls 2011-07-11 16:12:18 +03:00
syscall.c Wrap recv to avoid warnings 2011-07-25 14:38:56 +00:00
target_flat.h linux-user/FLAT: allow targets to override FLAT processing 2011-02-09 10:33:54 +02:00
uaccess.c
vm86.c