summaryrefslogtreecommitdiff
path: root/sys/dev/midi.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
commit8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch)
treeac9a52bace179e17769651fb9f805070d78abe5f /sys/dev/midi.c
parent7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff)
First round of __P removal in sys
Diffstat (limited to 'sys/dev/midi.c')
-rw-r--r--sys/dev/midi.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/sys/dev/midi.c b/sys/dev/midi.c
index cf83da528ec..0f66c382e8b 100644
--- a/sys/dev/midi.c
+++ b/sys/dev/midi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: midi.c,v 1.7 2002/01/10 18:49:07 mickey Exp $ */
+/* $OpenBSD: midi.c,v 1.8 2002/03/14 01:26:52 millert Exp $ */
/* $NetBSD: midi.c,v 1.10 1998/12/20 14:26:44 drochner Exp $ */
/*
@@ -75,22 +75,22 @@ int mididebug = 0;
int midi_wait;
-void midi_in __P((void *, int));
-void midi_out __P((void *));
-int midi_start_output __P((struct midi_softc *, int));
-int midi_sleep_timo __P((int *, char *, int));
-int midi_sleep __P((int *, char *));
-void midi_wakeup __P((int *));
-void midi_initbuf __P((struct midi_buffer *));
-void midi_timeout __P((void *));
+void midi_in(void *, int);
+void midi_out(void *);
+int midi_start_output(struct midi_softc *, int);
+int midi_sleep_timo(int *, char *, int);
+int midi_sleep(int *, char *);
+void midi_wakeup(int *);
+void midi_initbuf(struct midi_buffer *);
+void midi_timeout(void *);
#define __BROKEN_INDIRECT_CONFIG /* XXX */
#ifdef __BROKEN_INDIRECT_CONFIG
-int midiprobe __P((struct device *, void *, void *));
+int midiprobe(struct device *, void *, void *);
#else
-int midiprobe __P((struct device *, struct cfdata *, void *));
+int midiprobe(struct device *, struct cfdata *, void *);
#endif
-void midiattach __P((struct device *, struct device *, void *));
+void midiattach(struct device *, struct device *, void *);
struct cfattach midi_ca = {
sizeof(struct midi_softc), midiprobe, midiattach
@@ -311,7 +311,7 @@ deliver:
sc->in_state = MIDI_IN_START;
#if NSEQUENCER > 0
if (sc->seqopen) {
- extern void midiseq_in __P((struct midi_dev *,u_char *,int));
+ extern void midiseq_in(struct midi_dev *,u_char *,int);
midiseq_in(sc->seq_md, sc->in_msg, sc->in_pos);
return;
}
@@ -746,7 +746,7 @@ midi_getinfo(dev, mi)
#if (NMIDI > 0 || NMIDIBUS > 0) && NAUDIO > 0
-int midiprint __P((void *, const char *));
+int midiprint(void *, const char *);
struct device *
midi_attach_mi(mhwp, hdlp, dev)