diff options
author | Changlong Xie <xiecl.fnst@cn.fujitsu.com> | 2016-07-25 11:48:00 +0800 |
---|---|---|
committer | Michael Tokarev <mjt@gandalf> | 2016-09-13 18:12:34 +0300 |
commit | eb83c2030aa037b4c6037bfa3cbe181343dc6a8b (patch) | |
tree | cea8d254dfcc33efba2473828fd95997c61f67f2 /hw/net | |
parent | 5ce747cfac697f61668ab4fa4a71c1dba15cc272 (diff) | |
download | qemu-eb83c2030aa037b4c6037bfa3cbe181343dc6a8b.zip qemu-eb83c2030aa037b4c6037bfa3cbe181343dc6a8b.tar.gz qemu-eb83c2030aa037b4c6037bfa3cbe181343dc6a8b.tar.bz2 |
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>
Diffstat (limited to 'hw/net')
-rw-r--r-- | hw/net/e1000e_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/e1000e_core.c b/hw/net/e1000e_core.c index badb1fe..e0bd31c 100644 --- a/hw/net/e1000e_core.c +++ b/hw/net/e1000e_core.c @@ -52,7 +52,7 @@ second according to spec 10.2.4.2 */ #define E1000E_MAX_TX_FRAGS (64) -static void +static inline void e1000e_set_interrupt_cause(E1000ECore *core, uint32_t val); static inline void |