]> git.proxmox.com Git - mirror_qemu.git/commit
hw/net/e1000e: Fix compiler warning
authorChanglong Xie <xiecl.fnst@cn.fujitsu.com>
Mon, 25 Jul 2016 03:48:00 +0000 (11:48 +0800)
committerMichael Tokarev <mjt@gandalf>
Tue, 13 Sep 2016 15:12:34 +0000 (18:12 +0300)
commiteb83c2030aa037b4c6037bfa3cbe181343dc6a8b
treecea8d254dfcc33efba2473828fd95997c61f67f2
parent5ce747cfac697f61668ab4fa4a71c1dba15cc272
hw/net/e1000e: Fix compiler warning

slave:~/.xie/qemu-colo # gcc --version
gcc (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973]

slave:~/.xie/qemu-colo # make -j8
CC    hw/net/e1000e_core.o
hw/net/e1000e_core.c:56: warning: ‘e1000e_set_interrupt_cause’ declared inline after being called
hw/net/e1000e_core.c:56: warning: previous declaration of ‘e1000e_set_interrupt_cause’ was here
LINK  x86_64-softmmu/qemu-system-x86_64

Signed-off-by: Changlong Xie <xiecl.fnst@cn.fujitsu.com>
Reviewed-by: Dmitry Fleytman <dmitry@daynix.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/net/e1000e_core.c