Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Get rid of a few stray __P().



details:   https://anonhg.NetBSD.org/src/rev/42ebf8d0167c
branches:  trunk
changeset: 520089:42ebf8d0167c
user:      augustss <augustss%NetBSD.org@localhost>
date:      Wed Jan 02 17:20:09 2002 +0000

description:
Get rid of a few stray __P().

diffstat:

 sys/dev/usb/umidi.c |  10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diffs (38 lines):

diff -r e19c2a8058df -r 42ebf8d0167c sys/dev/usb/umidi.c
--- a/sys/dev/usb/umidi.c       Wed Jan 02 16:20:14 2002 +0000
+++ b/sys/dev/usb/umidi.c       Wed Jan 02 17:20:09 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: umidi.c,v 1.11 2001/12/12 15:44:47 augustss Exp $      */
+/*     $NetBSD: umidi.c,v 1.12 2002/01/02 17:20:09 augustss Exp $      */
 /*
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umidi.c,v 1.11 2001/12/12 15:44:47 augustss Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umidi.c,v 1.12 2002/01/02 17:20:09 augustss Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -137,8 +137,6 @@
 };
 
 USB_DECLARE_DRIVER(umidi);
-int umidi_activate __P((device_ptr_t, enum devact));
-int umidi_detach __P((device_ptr_t, int));
 
 USB_MATCH(umidi)
 {
@@ -275,8 +273,8 @@
 int
 umidi_open(void *addr,
           int flags,
-          void (*iintr)__P((void *, int)),
-          void (*ointr)__P((void *)),
+          void (*iintr)(void *, int),
+          void (*ointr)(void *),
           void *arg)
 {
        struct umidi_mididev *mididev = addr;



Home | Main Index | Thread Index | Old Index