From: Gonglei Date: Tue, 30 Aug 2016 04:06:21 +0000 (+0800) Subject: e1000: fix buliding complaint X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=fb56d323e2c9472ba4c25fc0f13f2aaddda62380;p=qmiga%2Fqemu.git e1000: fix buliding complaint 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 Signed-off-by: Gonglei Reviewed-by: Dmitry Fleytman Signed-off-by: Jason Wang --- diff --git a/hw/net/e1000e_core.c b/hw/net/e1000e_core.c index e0bd31c577..03e3c462f1 100644 --- a/hw/net/e1000e_core.c +++ b/hw/net/e1000e_core.c @@ -2168,7 +2168,7 @@ e1000e_update_interrupt_state(E1000ECore *core) } } -static inline void +static void e1000e_set_interrupt_cause(E1000ECore *core, uint32_t val) { trace_e1000e_irq_set_cause_entry(val, core->mac[ICR]);