Rename prototype from sysbeep_vidc() to sysbeep() to match definition.
Pull in beepvar.h and vidcaudiovar.h for beep_generate() and vidcaudio_beep_generate() prototypes. __RCSID().
This commit is contained in:
parent
b5e0d320af
commit
1e6835687e
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: sysbeep_vidc.c,v 1.1 2001/10/05 22:27:42 reinoud Exp $ */
|
||||
/* $NetBSD: sysbeep_vidc.c,v 1.2 2002/02/18 16:23:54 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -37,9 +37,15 @@
|
|||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
|
||||
__RCSID("$NetBSD: sysbeep_vidc.c,v 1.2 2002/02/18 16:23:54 bjh21 Exp $");
|
||||
|
||||
#include <sys/systm.h>
|
||||
#include <sys/device.h>
|
||||
|
||||
#include <arch/arm/iomd/beepvar.h>
|
||||
#include <arch/arm/iomd/vidcaudiovar.h>
|
||||
|
||||
#include "beep.h"
|
||||
#include "vidcaudio.h"
|
||||
#include "lmcaudio.h"
|
||||
|
@ -47,11 +53,9 @@
|
|||
/* Prototypes */
|
||||
int sysbeep_vidc_match __P((struct device *parent, struct cfdata *cf, void *aux));
|
||||
void sysbeep_vidc_attach __P((struct device *parent, struct device *self, void *aux));
|
||||
void sysbeep_vidc __P((int pitch, int period));
|
||||
void sysbeep __P((int pitch, int period));
|
||||
|
||||
void vidcaudio_beep_generate __P((void));
|
||||
void lmcaudio_beep_generate __P((void));
|
||||
void beep_generate __P((void));
|
||||
|
||||
/* device attach structure */
|
||||
struct cfattach sysbeep_vidc_ca = {
|
||||
|
|
Loading…
Reference in New Issue