summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-08-25 22:23:46 +0000
committerbde <bde@FreeBSD.org>1997-08-25 22:23:46 +0000
commit6689231c959fa801cd715593751c2cd8da1f3a41 (patch)
treefb98c8ba57517ddd104302682378160dbba52317 /sys
parentc978fb36523322ed7db0f843aca2c0a73f8a192e (diff)
downloadFreeBSD-src-6689231c959fa801cd715593751c2cd8da1f3a41.zip
FreeBSD-src-6689231c959fa801cd715593751c2cd8da1f3a41.tar.gz
Fixed type mismatch for a (low quality interface) function with an arg
of type u_char (break K&R support instead of fixing the interface or depending on a gcc feature).
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/isa/elink.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/i386/isa/elink.c b/sys/i386/isa/elink.c
index 43cd0aa..5d59813 100644
--- a/sys/i386/isa/elink.c
+++ b/sys/i386/isa/elink.c
@@ -26,7 +26,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: elink.c,v 1.7 1997/02/22 09:36:07 peter Exp $
+ * $Id: elink.c,v 1.8 1997/07/20 14:09:54 bde Exp $
*/
/*
@@ -60,8 +60,7 @@ elink_reset()
* bits are shifted in. Different board types use different polynomials.
*/
void
-elink_idseq(p)
- register u_char p;
+elink_idseq(u_char p)
{
register int i;
register u_char c;
OpenPOWER on IntegriCloud