summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/pcaudio.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-09-08 11:09:15 +0000
committerbde <bde@FreeBSD.org>1995-09-08 11:09:15 +0000
commitb25431cbeaa50fe70b0f15fa43efe4c6d7f2ff4d (patch)
treef4e80802be364373e2af54078a8dce6859e0bf8d /sys/i386/isa/pcaudio.c
parente53a3f96a9138cb046bae063dd3264ab4a213466 (diff)
downloadFreeBSD-src-b25431cbeaa50fe70b0f15fa43efe4c6d7f2ff4d.zip
FreeBSD-src-b25431cbeaa50fe70b0f15fa43efe4c6d7f2ff4d.tar.gz
Fix benign type mismatches in devsw functions. 82 out of 299 devsw
functions were wrong.
Diffstat (limited to 'sys/i386/isa/pcaudio.c')
-rw-r--r--sys/i386/isa/pcaudio.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/i386/isa/pcaudio.c b/sys/i386/isa/pcaudio.c
index a3e93b1..232294b 100644
--- a/sys/i386/isa/pcaudio.c
+++ b/sys/i386/isa/pcaudio.c
@@ -25,7 +25,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: pcaudio.c,v 1.13 1995/05/30 08:02:55 rgrimes Exp $
+ * $Id: pcaudio.c,v 1.14 1995/09/03 05:43:30 julian Exp $
*/
#include "pca.h"
@@ -81,8 +81,8 @@ static int pca_initialized = 0;
void pcaintr(struct clockframe *frame);
int pcaprobe(struct isa_device *dvp);
int pcaattach(struct isa_device *dvp);
-int pcaclose(dev_t dev, int flag);
-int pcaopen(dev_t dev, int flag);
+int pcaclose(dev_t dev, int flags, int fmt, struct proc *p);
+int pcaopen(dev_t dev, int flags, int fmt, struct proc *p);
int pcawrite(dev_t dev, struct uio *uio, int flag);
int pcaioctl(dev_t dev, int cmd, caddr_t data, int flag, struct proc *p);
int pcaselect(dev_t dev, int rw, struct proc *p);
@@ -272,7 +272,7 @@ pcaattach(struct isa_device *dvp)
int
-pcaopen(dev_t dev, int flag)
+pcaopen(dev_t dev, int flags, int fmt, struct proc *p)
{
/* audioctl device can always be opened */
if (minor(dev) == 128)
@@ -300,7 +300,7 @@ pcaopen(dev_t dev, int flag)
int
-pcaclose(dev_t dev, int flag)
+pcaclose(dev_t dev, int flags, int fmt, struct proc *p)
{
/* audioctl device can always be closed */
if (minor(dev) == 128)
OpenPOWER on IntegriCloud