From 2aa99b4f124f2887c05ed3b1a2701330d192d9db Mon Sep 17 00:00:00 2001 From: bjh21 Date: Mon, 18 Feb 2002 12:36:27 +0000 Subject: [PATCH] Include for beep_generate() prototype. Include for cdevsw function prototypes. Correct argument types of beepioctl(). Add in-core RCSID. --- sys/arch/arm/iomd/beep.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sys/arch/arm/iomd/beep.c b/sys/arch/arm/iomd/beep.c index deb5a1b1b73a..14d95f8c9ed6 100644 --- a/sys/arch/arm/iomd/beep.c +++ b/sys/arch/arm/iomd/beep.c @@ -1,4 +1,4 @@ -/* $NetBSD: beep.c,v 1.4 2001/11/27 01:03:52 thorpej Exp $ */ +/* $NetBSD: beep.c,v 1.5 2002/02/18 12:36:27 bjh21 Exp $ */ /* * Copyright (c) 1995 Mark Brinicombe @@ -41,6 +41,9 @@ */ #include + +__RCSID("$NetBSD: beep.c,v 1.5 2002/02/18 12:36:27 bjh21 Exp $"); + #include #include #include @@ -51,11 +54,13 @@ #include +#include #include #include #include #include #include +#include #include #include #include @@ -270,7 +275,7 @@ beep_generate(void) int beepioctl(dev, cmd, data, flag, p) dev_t dev; - int cmd; + u_long cmd; caddr_t data; int flag; struct proc *p;