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 Un-__P, ANSIfy, KNF.
details: https://anonhg.NetBSD.org/src/rev/5978e3640a26
branches: trunk
changeset: 532844:5978e3640a26
user: bjh21 <bjh21%NetBSD.org@localhost>
date: Sun Jun 16 12:33:41 2002 +0000
description:
Un-__P, ANSIfy, KNF.
diffstat:
sys/arch/arm/iomd/sysbeep_vidc.c | 27 ++++++++++++---------------
1 files changed, 12 insertions(+), 15 deletions(-)
diffs (67 lines):
diff -r aee98db0d01d -r 5978e3640a26 sys/arch/arm/iomd/sysbeep_vidc.c
--- a/sys/arch/arm/iomd/sysbeep_vidc.c Sun Jun 16 12:30:13 2002 +0000
+++ b/sys/arch/arm/iomd/sysbeep_vidc.c Sun Jun 16 12:33:41 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sysbeep_vidc.c,v 1.3 2002/03/10 15:47:44 bjh21 Exp $ */
+/* $NetBSD: sysbeep_vidc.c,v 1.4 2002/06/16 12:33:41 bjh21 Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
#include <sys/param.h>
-__KERNEL_RCSID(0, "$NetBSD: sysbeep_vidc.c,v 1.3 2002/03/10 15:47:44 bjh21 Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sysbeep_vidc.c,v 1.4 2002/06/16 12:33:41 bjh21 Exp $");
#include <sys/systm.h>
#include <sys/device.h>
@@ -51,11 +51,11 @@
#include "lmcaudio.h"
/* 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 __P((int pitch, int period));
+int sysbeep_vidc_match(struct device *, struct cfdata *, void *);
+void sysbeep_vidc_attach(struct device *, struct device *, void *);
+void sysbeep(int, int);
-void lmcaudio_beep_generate __P((void));
+void lmcaudio_beep_generate(void);
/* device attach structure */
struct cfattach sysbeep_vidc_ca = {
@@ -63,26 +63,23 @@
};
int
-sysbeep_vidc_match(parent, match, aux)
- struct device *parent;
- struct cfdata *match;
- void *aux;
+sysbeep_vidc_match(struct device *parent, struct cfdata *match, void *aux)
{
+
return (1); /* XXX */
}
void
-sysbeep_vidc_attach(parent, self, aux)
- struct device *parent, *self;
- void *aux;
+sysbeep_vidc_attach(struct device *parent, struct device *self, void *aux)
{
+
printf("\n");
}
void
-sysbeep(pitch, period)
- int pitch, period;
+sysbeep(int pitch, int period)
{
+
#if NVIDCAUDIO > 0
vidcaudio_beep_generate();
#elif NLMCAUDIO > 0
Home |
Main Index |
Thread Index |
Old Index