aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ed
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-04-15 17:47:40 +0000
committerBruce Evans <bde@FreeBSD.org>1998-04-15 17:47:40 +0000
commitc1087c13240442926a34afa825b4dd3993868549 (patch)
tree85994764e94105ae219ec63eaed3030d8e9d12b5 /sys/dev/ed
parent7e07ce2225a75a7d42ade04338c77b30b974113b (diff)
downloadsrc-c1087c13240442926a34afa825b4dd3993868549.tar.gz
src-c1087c13240442926a34afa825b4dd3993868549.zip
Support compiling with `gcc -ansi'.
Notes
Notes: svn path=/head/; revision=35210
Diffstat (limited to 'sys/dev/ed')
-rw-r--r--sys/dev/ed/if_ed.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c
index 490de2c84c4f..a91559ea8a90 100644
--- a/sys/dev/ed/if_ed.c
+++ b/sys/dev/ed/if_ed.c
@@ -24,7 +24,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_ed.c,v 1.137 1998/03/28 13:23:51 bde Exp $
+ * $Id: if_ed.c,v 1.138 1998/03/29 03:22:19 eivind Exp $
*/
/*
@@ -167,10 +167,10 @@ static void ds_getmcaf __P((struct ed_softc *, u_long *));
static void ed_get_packet __P((struct ed_softc *, char *, /* u_short */ int, int));
-static void ed_rint __P((struct ed_softc *));
-static void ed_xmit __P((struct ed_softc *));
-static char * ed_ring_copy __P((struct ed_softc *, char *, char *,
- /* u_short */ int));
+static __inline void ed_rint __P((struct ed_softc *));
+static __inline void ed_xmit __P((struct ed_softc *));
+static __inline char * ed_ring_copy __P((struct ed_softc *, char *, char *,
+ /* u_short */ int));
static void ed_hpp_set_physical_link __P((struct ed_softc *));
static void ed_hpp_readmem __P((struct ed_softc *, int, unsigned char *,
/* u_short */ int));
@@ -1988,7 +1988,7 @@ ed_init(xsc)
/*
* This routine actually starts the transmission on the interface
*/
-static inline void
+static __inline void
ed_xmit(sc)
struct ed_softc *sc;
{
@@ -2200,7 +2200,7 @@ outloop:
/*
* Ethernet interface receiver interrupt.
*/
-static inline void
+static __inline void
ed_rint(sc)
struct ed_softc *sc;
{
@@ -2663,7 +2663,7 @@ ed_ioctl(ifp, command, data)
* the ring buffer into a linear destination buffer. Takes into account
* ring-wrap.
*/
-static inline char *
+static __inline char *
ed_ring_copy(sc, src, dst, amount)
struct ed_softc *sc;
char *src;