diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-05-07 21:57:24 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-05-07 21:57:24 +0000 |
commit | bc8b161495cb90776e0b3f7ce36f7bb62e2795c8 (patch) | |
tree | e8e4abb1717aee89f2a5649e11259217c17a77bc /sys/dev/pci/if_sk.c | |
parent | 919e7b67dec798ed64c9d77883bf4fb57f8fc723 (diff) |
shrink code by not using __inline without static; ok kettenis
Diffstat (limited to 'sys/dev/pci/if_sk.c')
-rw-r--r-- | sys/dev/pci/if_sk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_sk.c b/sys/dev/pci/if_sk.c index 50ae51e18c7..ced912dc92c 100644 --- a/sys/dev/pci/if_sk.c +++ b/sys/dev/pci/if_sk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sk.c,v 1.139 2007/02/12 21:19:56 pedro Exp $ */ +/* $OpenBSD: if_sk.c,v 1.140 2007/05/07 21:57:23 deraadt Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -141,7 +141,7 @@ int sk_intr(void *); void sk_intr_bcom(struct sk_if_softc *); void sk_intr_xmac(struct sk_if_softc *); void sk_intr_yukon(struct sk_if_softc *); -__inline int sk_rxvalid(struct sk_softc *, u_int32_t, u_int32_t); +static __inline int sk_rxvalid(struct sk_softc *, u_int32_t, u_int32_t); void sk_rxeof(struct sk_if_softc *); void sk_txeof(struct sk_if_softc *); int sk_encap(struct sk_if_softc *, struct mbuf *, u_int32_t *); @@ -1701,7 +1701,7 @@ skc_shutdown(void *v) sk_reset(sc); } -__inline int +static __inline int sk_rxvalid(struct sk_softc *sc, u_int32_t stat, u_int32_t len) { if (sc->sk_type == SK_GENESIS) { |