summaryrefslogtreecommitdiff
path: root/sys/dev/midi_if.h
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_if.h
parent7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff)
First round of __P removal in sys
Diffstat (limited to 'sys/dev/midi_if.h')
-rw-r--r--sys/dev/midi_if.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/sys/dev/midi_if.h b/sys/dev/midi_if.h
index 4254df26293..26d2bafeb12 100644
--- a/sys/dev/midi_if.h
+++ b/sys/dev/midi_if.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: midi_if.h,v 1.2 2000/05/24 13:44:18 ho Exp $ */
+/* $OpenBSD: midi_if.h,v 1.3 2002/03/14 01:26:52 millert Exp $ */
/* $NetBSD: midi_if.h,v 1.3 1998/11/25 22:17:07 augustss Exp $ */
/*
@@ -51,21 +51,21 @@ struct midi_softc;
struct midi_hw_if {
int (*open)__P((void *, int, /* open hardware */
- void (*)__P((void *, int)), /* input callback */
- void (*)__P((void *)), /* output callback */
+ void (*)(void *, int), /* input callback */
+ void (*)(void *), /* output callback */
void *));
- void (*close)__P((void *)); /* close hardware */
- int (*output)__P((void *, int)); /* output a byte */
- void (*getinfo)__P((void *, struct midi_info *));
- int (*ioctl)__P((void *, u_long, caddr_t, int, struct proc *));
+ void (*close)(void *); /* close hardware */
+ int (*output)(void *, int); /* output a byte */
+ void (*getinfo)(void *, struct midi_info *);
+ int (*ioctl)(void *, u_long, caddr_t, int, struct proc *);
};
-void midi_attach __P((struct midi_softc *, struct device *));
-struct device *midi_attach_mi __P((struct midi_hw_if *, void *,
- struct device *));
+void midi_attach(struct midi_softc *, struct device *);
+struct device *midi_attach_mi(struct midi_hw_if *, void *,
+ struct device *);
-int midi_unit_count __P((void));
-void midi_getinfo __P((dev_t, struct midi_info *));
-int midi_writebytes __P((int, u_char *, int));
+int midi_unit_count(void);
+void midi_getinfo(dev_t, struct midi_info *);
+int midi_writebytes(int, u_char *, int);
#endif /* _SYS_DEV_MIDI_IF_H_ */