]> Git Repo - qemu.git/commit
ether/slirp: Avoid redefinition of the same constants
authorDr. David Alan Gilbert <[email protected]>
Fri, 8 Jan 2016 14:41:28 +0000 (14:41 +0000)
committerJason Wang <[email protected]>
Mon, 11 Jan 2016 03:01:35 +0000 (11:01 +0800)
commit9c7ffe266485c87e8e76d59af22e96866c202e42
treeabbf7658cb3891a3309b87c7f9d214892471c0cb
parent3be9b3528debd985b7a84ace0626cacf5ffe5ec4
ether/slirp: Avoid redefinition of the same constants

eth.h and slirp.h both define ETH_ALEN and ETH_P_IP
rtl8139.c and eth.h both define ETH_HLEN

Move the related constant (ETH_P_ARP) from slirp.h to eth.h, and
remove the duplicates; make slirp.h include eth.h

Signed-off-by: Dr. David Alan Gilbert <[email protected]>
Reviewed-by: Alex BennĂ©e <[email protected]>
Signed-off-by: Jason Wang <[email protected]>
hw/net/rtl8139.c
include/net/eth.h
slirp/slirp.h
This page took 0.02741 seconds and 4 git commands to generate.