]> git.proxmox.com Git - qemu.git/blobdiff - hw/rtl8139.c
Fix undeclared symbol warnings from sparse
[qemu.git] / hw / rtl8139.c
index cae8788586ae3d6f66c754ff58db07b364c3fc9a..feffa9c33b1c41ed63f885d80f756b9dbb16e1cc 100644 (file)
@@ -1255,7 +1255,7 @@ static void rtl8139_reset(RTL8139State *s)
     RTL8139TallyCounters_clear(&s->tally_counters);
 }
 
-void RTL8139TallyCounters_clear(RTL8139TallyCounters* counters)
+static void RTL8139TallyCounters_clear(RTL8139TallyCounters* counters)
 {
     counters->TxOk = 0;
     counters->RxOk = 0;