summaryrefslogtreecommitdiff
path: root/sys/dev/sequencer.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/sequencer.c
parent7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff)
First round of __P removal in sys
Diffstat (limited to 'sys/dev/sequencer.c')
-rw-r--r--sys/dev/sequencer.c66
1 files changed, 33 insertions, 33 deletions
diff --git a/sys/dev/sequencer.c b/sys/dev/sequencer.c
index 6aa5d55c7f2..25cc5b97330 100644
--- a/sys/dev/sequencer.c
+++ b/sys/dev/sequencer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sequencer.c,v 1.6 2002/01/10 18:49:07 mickey Exp $ */
+/* $OpenBSD: sequencer.c,v 1.7 2002/03/14 01:26:52 millert Exp $ */
/* $NetBSD: sequencer.c,v 1.13 1998/11/25 22:17:07 augustss Exp $ */
/*
@@ -114,43 +114,43 @@ int sequencerdebug = 0;
struct sequencer_softc seqdevs[NSEQUENCER];
-void sequencerattach __P((int));
-void seq_reset __P((struct sequencer_softc *));
-int seq_do_command __P((struct sequencer_softc *, seq_event_rec *));
-int seq_do_extcommand __P((struct sequencer_softc *, seq_event_rec *));
-int seq_do_chnvoice __P((struct sequencer_softc *, seq_event_rec *));
-int seq_do_chncommon __P((struct sequencer_softc *, seq_event_rec *));
-int seq_do_timing __P((struct sequencer_softc *, seq_event_rec *));
-int seq_do_local __P((struct sequencer_softc *, seq_event_rec *));
-int seq_do_sysex __P((struct sequencer_softc *, seq_event_rec *));
-int seq_do_fullsize __P((struct sequencer_softc *, seq_event_rec *,
- struct uio *));
-int seq_timer __P((struct sequencer_softc *, int, int, seq_event_rec *));
-static int seq_input_event __P((struct sequencer_softc *, seq_event_rec *));
-int seq_drain __P((struct sequencer_softc *));
-void seq_startoutput __P((struct sequencer_softc *));
-void seq_timeout __P((void *));
-int seq_to_new __P((seq_event_rec *, struct uio *));
+void sequencerattach(int);
+void seq_reset(struct sequencer_softc *);
+int seq_do_command(struct sequencer_softc *, seq_event_rec *);
+int seq_do_extcommand(struct sequencer_softc *, seq_event_rec *);
+int seq_do_chnvoice(struct sequencer_softc *, seq_event_rec *);
+int seq_do_chncommon(struct sequencer_softc *, seq_event_rec *);
+int seq_do_timing(struct sequencer_softc *, seq_event_rec *);
+int seq_do_local(struct sequencer_softc *, seq_event_rec *);
+int seq_do_sysex(struct sequencer_softc *, seq_event_rec *);
+int seq_do_fullsize(struct sequencer_softc *, seq_event_rec *,
+ struct uio *);
+int seq_timer(struct sequencer_softc *, int, int, seq_event_rec *);
+static int seq_input_event(struct sequencer_softc *, seq_event_rec *);
+int seq_drain(struct sequencer_softc *);
+void seq_startoutput(struct sequencer_softc *);
+void seq_timeout(void *);
+int seq_to_new(seq_event_rec *, struct uio *);
static int seq_sleep_timo(int *, char *, int);
static int seq_sleep(int *, char *);
static void seq_wakeup(int *);
struct midi_softc;
-int midiseq_out __P((struct midi_dev *, u_char *, u_int, int));
-struct midi_dev *midiseq_open __P((int, int));
-void midiseq_close __P((struct midi_dev *));
-void midiseq_reset __P((struct midi_dev *));
-int midiseq_noteon __P((struct midi_dev *, int, int, int));
-int midiseq_noteoff __P((struct midi_dev *, int, int, int));
-int midiseq_keypressure __P((struct midi_dev *, int, int, int));
-int midiseq_pgmchange __P((struct midi_dev *, int, int));
-int midiseq_chnpressure __P((struct midi_dev *, int, int));
-int midiseq_ctlchange __P((struct midi_dev *, int, int, int));
-int midiseq_pitchbend __P((struct midi_dev *, int, int));
-int midiseq_loadpatch __P((struct midi_dev *, struct sysex_info *,
- struct uio *));
-int midiseq_putc __P((struct midi_dev *, int));
-void midiseq_in __P((struct midi_dev *, u_char *, int));
+int midiseq_out(struct midi_dev *, u_char *, u_int, int);
+struct midi_dev *midiseq_open(int, int);
+void midiseq_close(struct midi_dev *);
+void midiseq_reset(struct midi_dev *);
+int midiseq_noteon(struct midi_dev *, int, int, int);
+int midiseq_noteoff(struct midi_dev *, int, int, int);
+int midiseq_keypressure(struct midi_dev *, int, int, int);
+int midiseq_pgmchange(struct midi_dev *, int, int);
+int midiseq_chnpressure(struct midi_dev *, int, int);
+int midiseq_ctlchange(struct midi_dev *, int, int, int);
+int midiseq_pitchbend(struct midi_dev *, int, int);
+int midiseq_loadpatch(struct midi_dev *, struct sysex_info *,
+ struct uio *);
+int midiseq_putc(struct midi_dev *, int);
+void midiseq_in(struct midi_dev *, u_char *, int);
void
sequencerattach(n)