summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-05-08 21:19:43 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-05-08 21:19:43 +0000
commitb185e4c3aeffbd65680913ce39c5c3f16e1a717f (patch)
treea2cb1a4e1abb01b0ff637ae80470afcfc6ba8b90 /sys/dev
parent88d72b830ddf8a1bdae7973b6a7ee3971c3def7b (diff)
non-static inline functions waste space
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/re.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/re.c b/sys/dev/ic/re.c
index c48f7553ef0..240cbb08b23 100644
--- a/sys/dev/ic/re.c
+++ b/sys/dev/ic/re.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: re.c,v 1.70 2007/05/05 12:10:57 jsg Exp $ */
+/* $OpenBSD: re.c,v 1.71 2007/05/08 21:19:42 deraadt Exp $ */
/* $FreeBSD: if_re.c,v 1.31 2004/09/04 07:54:05 ru Exp $ */
/*
* Copyright (c) 1997, 1998-2003
@@ -158,7 +158,7 @@ int redebug = 0;
#define DPRINTF(x)
#endif
-inline void re_set_bufaddr(struct rl_desc *, bus_addr_t);
+static inline void re_set_bufaddr(struct rl_desc *, bus_addr_t);
int re_encap(struct rl_softc *, struct mbuf *, int *);
@@ -227,7 +227,7 @@ static const struct re_revision {
};
-inline void
+static inline void
re_set_bufaddr(struct rl_desc *d, bus_addr_t addr)
{
d->rl_bufaddr_lo = htole32((uint32_t)addr);