]> git.proxmox.com Git - mirror_qemu.git/commit - slirp/sbuf.c
Sparse fixes: NULL use, header order, ANSI prototypes, static
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 7 Mar 2009 15:32:56 +0000 (15:32 +0000)
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 7 Mar 2009 15:32:56 +0000 (15:32 +0000)
commit511d2b140f3ff2f80d14637cdc2f29743a2daa51
tree6cf21d1c95846f1c86879c60dffbe6a3eaa8aa6d
parentc2764719914ff0c4d6c06adafea17629600f21ba
Sparse fixes: NULL use, header order, ANSI prototypes, static

Fix Sparse warnings:
 * use NULL instead of plain 0
 * rearrange header include order to avoid redefining types accidentally
 * ANSIfy SLIRP
 * avoid "restrict" keyword
 * add static

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6736 c046a42c-6fe2-441c-8c8c-71466251a162
35 files changed:
block-dmg.c
block-vmdk.c
block-vvfat.c
bt-host.c
bt-vhci.c
console.c
curses.c
exec.c
hw/bt-hci.c
hw/bt-hid.c
hw/bt-l2cap.c
hw/bt-sdp.c
hw/ppce500_mpc8544ds.c
hw/usb-bt.c
hw/vmware_vga.c
hw/wm8750.c
monitor.c
net.c
osdep.c
savevm.c
sdl.c
slirp/if.c
slirp/ip_icmp.c
slirp/ip_input.c
slirp/ip_output.c
slirp/libslirp.h
slirp/mbuf.c
slirp/misc.c
slirp/sbuf.c
slirp/slirp.c
slirp/socket.c
slirp/tcp_input.c
slirp/tcp_output.c
slirp/tcp_subr.c
vl.c