diff --git a/sys/dev/lnc/if_lnc.c b/sys/dev/lnc/if_lnc.c index e1105eb3eb80..8477f5878603 100644 --- a/sys/dev/lnc/if_lnc.c +++ b/sys/dev/lnc/if_lnc.c @@ -154,14 +154,14 @@ static struct kern_devconf kdc_lnc = { DC_CLS_NETIF }; -inline void +static inline void write_csr(int unit, u_short port, u_short val) { outw(lnc_softc[unit].rap, port); outw(lnc_softc[unit].rdp, val); } -inline u_short +static inline u_short read_csr(int unit, u_short port) { outw(lnc_softc[unit].rap, port); diff --git a/sys/i386/isa/if_lnc.c b/sys/i386/isa/if_lnc.c index e1105eb3eb80..8477f5878603 100644 --- a/sys/i386/isa/if_lnc.c +++ b/sys/i386/isa/if_lnc.c @@ -154,14 +154,14 @@ static struct kern_devconf kdc_lnc = { DC_CLS_NETIF }; -inline void +static inline void write_csr(int unit, u_short port, u_short val) { outw(lnc_softc[unit].rap, port); outw(lnc_softc[unit].rdp, val); } -inline u_short +static inline u_short read_csr(int unit, u_short port) { outw(lnc_softc[unit].rap, port);