summaryrefslogtreecommitdiff
path: root/sys/dev/sun
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/sun
parent7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff)
First round of __P removal in sys
Diffstat (limited to 'sys/dev/sun')
-rw-r--r--sys/dev/sun/event_var.h10
-rw-r--r--sys/dev/sun/kbd.c26
-rw-r--r--sys/dev/sun/kbd_xlate.h12
-rw-r--r--sys/dev/sun/ms.c12
4 files changed, 30 insertions, 30 deletions
diff --git a/sys/dev/sun/event_var.h b/sys/dev/sun/event_var.h
index 77ba4542d8c..993fed63958 100644
--- a/sys/dev/sun/event_var.h
+++ b/sys/dev/sun/event_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: event_var.h,v 1.2 1997/08/08 08:17:13 downsj Exp $ */
+/* $OpenBSD: event_var.h,v 1.3 2002/03/14 01:27:02 millert Exp $ */
/* $NetBSD: event_var.h,v 1.1.1.1 1996/01/24 01:15:34 gwr Exp $ */
/*
@@ -77,10 +77,10 @@ struct evvar {
psignal((ev)->ev_io, SIGIO); \
}
-void ev_init __P((struct evvar *));
-void ev_fini __P((struct evvar *));
-int ev_read __P((struct evvar *, struct uio *, int));
-int ev_select __P((struct evvar *, int, struct proc *));
+void ev_init(struct evvar *);
+void ev_fini(struct evvar *);
+int ev_read(struct evvar *, struct uio *, int);
+int ev_select(struct evvar *, int, struct proc *);
/*
* PEVENT is set just above PSOCK, which is just above TTIPRI, on the
diff --git a/sys/dev/sun/kbd.c b/sys/dev/sun/kbd.c
index 122f7733419..d2bc8b8b95c 100644
--- a/sys/dev/sun/kbd.c
+++ b/sys/dev/sun/kbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kbd.c,v 1.11 2001/08/12 12:03:03 heko Exp $ */
+/* $OpenBSD: kbd.c,v 1.12 2002/03/14 01:27:02 millert Exp $ */
/* $NetBSD: kbd.c,v 1.14 1997/07/17 01:17:45 jtk Exp $ */
/*
@@ -385,14 +385,14 @@ kbdselect(dev, rw, p)
static int kbd_ioccmd(struct kbd_softc *k, int *data);
-static int kbd_iockeymap __P((struct kbd_state *ks,
- u_long cmd, struct kiockeymap *kio));
+static int kbd_iockeymap(struct kbd_state *ks,
+ u_long cmd, struct kiockeymap *kio);
static int kbd_iocsled(struct kbd_softc *k, int *data);
#ifdef KIOCGETKEY
-static int kbd_oldkeymap __P((struct kbd_state *ks,
- u_long cmd, struct okiockey *okio));
+static int kbd_oldkeymap(struct kbd_state *ks,
+ u_long cmd, struct okiockey *okio);
#endif
int
@@ -652,10 +652,10 @@ kbd_iocsled(k, data)
* - raw key codes to keysym
****************************************************************/
-static void kbd_input_string __P((struct kbd_softc *, char *));
-static void kbd_input_funckey __P((struct kbd_softc *, int));
-static void kbd_input_keysym __P((struct kbd_softc *, int));
-static void kbd_input_raw __P((struct kbd_softc *k, int));
+static void kbd_input_string(struct kbd_softc *, char *);
+static void kbd_input_funckey(struct kbd_softc *, int);
+static void kbd_input_keysym(struct kbd_softc *, int);
+static void kbd_input_raw(struct kbd_softc *k, int);
/*
* Initialization done by either kdcninit or kbd_iopen
@@ -958,10 +958,10 @@ kbd_input_raw(k, c)
* Interface to the lower layer (zscc)
****************************************************************/
-static void kbd_rxint __P((struct zs_chanstate *));
-static void kbd_txint __P((struct zs_chanstate *));
-static void kbd_stint __P((struct zs_chanstate *));
-static void kbd_softint __P((struct zs_chanstate *));
+static void kbd_rxint(struct zs_chanstate *);
+static void kbd_txint(struct zs_chanstate *);
+static void kbd_stint(struct zs_chanstate *);
+static void kbd_softint(struct zs_chanstate *);
static void
kbd_rxint(cs)
diff --git a/sys/dev/sun/kbd_xlate.h b/sys/dev/sun/kbd_xlate.h
index ac6fd00d346..9c53bc26677 100644
--- a/sys/dev/sun/kbd_xlate.h
+++ b/sys/dev/sun/kbd_xlate.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: kbd_xlate.h,v 1.3 1997/08/08 08:17:19 downsj Exp $ */
+/* $OpenBSD: kbd_xlate.h,v 1.4 2002/03/14 01:27:02 millert Exp $ */
/* $NetBSD: kbd_xlate.h,v 1.2 1996/12/17 20:46:15 gwr Exp $ */
/*
@@ -79,15 +79,15 @@ struct kbd_state {
};
-extern void kbd_xlate_init __P((struct kbd_state *ks));
-extern int kbd_code_to_keysym __P((struct kbd_state *ks, int c));
+extern void kbd_xlate_init(struct kbd_state *ks);
+extern int kbd_code_to_keysym(struct kbd_state *ks, int c);
/*
* XXX: kd/kbd interface... Does this belong elsewhere?
* This is the only header shared between them...
*/
-extern int kbd_iopen __P((int unit));
-extern void kd_init __P((int unit));
-extern void kd_input __P((int c));
+extern int kbd_iopen(int unit);
+extern void kd_init(int unit);
+extern void kd_input(int c);
diff --git a/sys/dev/sun/ms.c b/sys/dev/sun/ms.c
index c89c8af41bc..5698dbbe2ab 100644
--- a/sys/dev/sun/ms.c
+++ b/sys/dev/sun/ms.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ms.c,v 1.8 1997/08/08 21:21:37 niklas Exp $ */
+/* $OpenBSD: ms.c,v 1.9 2002/03/14 01:27:02 millert Exp $ */
/* $NetBSD: ms.c,v 1.12 1997/07/17 01:17:47 jtk Exp $ */
/*
@@ -343,7 +343,7 @@ msselect(dev, rw, p)
* Middle layer (translator)
****************************************************************/
-static void ms_input __P((struct ms_softc *, int c));
+static void ms_input(struct ms_softc *, int c);
/*
@@ -487,10 +487,10 @@ out:
* Interface to the lower layer (zscc)
****************************************************************/
-static void ms_rxint __P((struct zs_chanstate *));
-static void ms_txint __P((struct zs_chanstate *));
-static void ms_stint __P((struct zs_chanstate *));
-static void ms_softint __P((struct zs_chanstate *));
+static void ms_rxint(struct zs_chanstate *);
+static void ms_txint(struct zs_chanstate *);
+static void ms_stint(struct zs_chanstate *);
+static void ms_softint(struct zs_chanstate *);
static void
ms_rxint(cs)