From 7b4db731d6a88942c663dfc7f3ffb20a4ef1b5b5 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Wed, 27 Jun 2007 19:15:48 +0000 Subject: Shrink code by not using __inline without static; like we did for sk(4). From brad at comstyle dot com. --- sys/dev/pci/if_msk.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys') diff --git a/sys/dev/pci/if_msk.c b/sys/dev/pci/if_msk.c index f6a2caee49a..b62b862337c 100644 --- a/sys/dev/pci/if_msk.c +++ b/sys/dev/pci/if_msk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_msk.c,v 1.55 2007/06/01 04:35:28 kettenis Exp $ */ +/* $OpenBSD: if_msk.c,v 1.56 2007/06/27 19:15:47 kettenis Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -141,7 +141,7 @@ void msk_reset(struct sk_if_softc *); int mskcprint(void *, const char *); int msk_intr(void *); void msk_intr_yukon(struct sk_if_softc *); -__inline int msk_rxvalid(struct sk_softc *, u_int32_t, u_int32_t); +static __inline int msk_rxvalid(struct sk_softc *, u_int32_t, u_int32_t); void msk_rxeof(struct sk_if_softc *, u_int16_t, u_int32_t); void msk_txeof(struct sk_if_softc *); int msk_encap(struct sk_if_softc *, struct mbuf *, u_int32_t *); @@ -1587,7 +1587,7 @@ mskc_shutdown(void *v) mskc_reset(sc); } -__inline int +static __inline int msk_rxvalid(struct sk_softc *sc, u_int32_t stat, u_int32_t len) { if ((stat & (YU_RXSTAT_CRCERR | YU_RXSTAT_LONGERR | -- cgit v1.2.3