Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/iomd Rename prototype from sysbeep_vidc() to sy...



details:   https://anonhg.NetBSD.org/src/rev/12f35d5e192c
branches:  trunk
changeset: 522414:12f35d5e192c
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Mon Feb 18 16:23:54 2002 +0000

description:
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().

diffstat:

 sys/arch/arm/iomd/sysbeep_vidc.c |  12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diffs (38 lines):

diff -r 0b9116a2060f -r 12f35d5e192c sys/arch/arm/iomd/sysbeep_vidc.c
--- a/sys/arch/arm/iomd/sysbeep_vidc.c  Mon Feb 18 15:58:02 2002 +0000
+++ b/sys/arch/arm/iomd/sysbeep_vidc.c  Mon Feb 18 16:23:54 2002 +0000
@@ -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 = {



Home | Main Index | Thread Index | Old Index