summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2007-05-08 21:19:42 +0000
committerderaadt <deraadt@openbsd.org>2007-05-08 21:19:42 +0000
commit0e06c814c9dfc3d27b1e6659f344c39d8e88ffb7 (patch)
treebe784051402f4da39f7d8913e0d5ec8c5ee5bc81 /sys
parent#if 0 a function that is only ever called in #if 0 (diff)
downloadwireguard-openbsd-0e06c814c9dfc3d27b1e6659f344c39d8e88ffb7.tar.xz
wireguard-openbsd-0e06c814c9dfc3d27b1e6659f344c39d8e88ffb7.zip
non-static inline functions waste space
Diffstat (limited to 'sys')
-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);