summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-08-25 22:34:25 +0000
committerbde <bde@FreeBSD.org>1997-08-25 22:34:25 +0000
commit5fcc0d3d4096ca83b3ed0b19ed1dde448ff288e4 (patch)
treea7dfe2bf8cf625e92e24bab23141040d1f746c0a /sys
parentcb45fbaef8097d0cb9f0030cd1ef83a5075aa387 (diff)
downloadFreeBSD-src-5fcc0d3d4096ca83b3ed0b19ed1dde448ff288e4.zip
FreeBSD-src-5fcc0d3d4096ca83b3ed0b19ed1dde448ff288e4.tar.gz
Fixed type mismatch for a (low quality interface) function with an
arg of type u_short (just write the function in ANSI C like most other functions in this file instead of fixing the interface or depending on a gcc feature).
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/wl/if_wl.c7
-rw-r--r--sys/i386/isa/if_wl.c7
2 files changed, 4 insertions, 10 deletions
diff --git a/sys/dev/wl/if_wl.c b/sys/dev/wl/if_wl.c
index 4c8124f..d17de61 100644
--- a/sys/dev/wl/if_wl.c
+++ b/sys/dev/wl/if_wl.c
@@ -1,4 +1,4 @@
-/* $Id: if_wl.c,v 1.6 1997/08/01 03:36:12 msmith Exp $ */
+/* $Id: if_wl.c,v 1.7 1997/08/02 05:19:32 msmith Exp $ */
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -935,9 +935,7 @@ wlstart(struct ifnet *ifp)
*
*/
static int
-wlread(unit, fd_p)
-int unit;
-u_short fd_p;
+wlread(int unit, u_short fd_p)
{
register struct wl_softc *sc = WLSOFTC(unit);
register struct ifnet *ifp = &sc->wl_if;
@@ -2508,7 +2506,6 @@ wlpsacrc(u_char *buf)
}
return(crc);
}
-
#ifdef WLCACHE
/*
diff --git a/sys/i386/isa/if_wl.c b/sys/i386/isa/if_wl.c
index 4c8124f..d17de61 100644
--- a/sys/i386/isa/if_wl.c
+++ b/sys/i386/isa/if_wl.c
@@ -1,4 +1,4 @@
-/* $Id: if_wl.c,v 1.6 1997/08/01 03:36:12 msmith Exp $ */
+/* $Id: if_wl.c,v 1.7 1997/08/02 05:19:32 msmith Exp $ */
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -935,9 +935,7 @@ wlstart(struct ifnet *ifp)
*
*/
static int
-wlread(unit, fd_p)
-int unit;
-u_short fd_p;
+wlread(int unit, u_short fd_p)
{
register struct wl_softc *sc = WLSOFTC(unit);
register struct ifnet *ifp = &sc->wl_if;
@@ -2508,7 +2506,6 @@ wlpsacrc(u_char *buf)
}
return(crc);
}
-
#ifdef WLCACHE
/*
OpenPOWER on IntegriCloud