diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 01:27:20 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 01:27:20 +0000 |
commit | 8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch) | |
tree | ac9a52bace179e17769651fb9f805070d78abe5f /sys/dev/rcons | |
parent | 7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff) |
First round of __P removal in sys
Diffstat (limited to 'sys/dev/rcons')
-rw-r--r-- | sys/dev/rcons/raster_op.c | 6 | ||||
-rw-r--r-- | sys/dev/rcons/rcons.h | 38 | ||||
-rw-r--r-- | sys/dev/rcons/rcons_kern.c | 4 | ||||
-rw-r--r-- | sys/dev/rcons/rcons_subr.h | 32 |
4 files changed, 40 insertions, 40 deletions
diff --git a/sys/dev/rcons/raster_op.c b/sys/dev/rcons/raster_op.c index 58484d4ee92..17a7eaaf2e5 100644 --- a/sys/dev/rcons/raster_op.c +++ b/sys/dev/rcons/raster_op.c @@ -1,4 +1,4 @@ -/* $OpenBSD: raster_op.c,v 1.3 1996/04/18 23:48:12 niklas Exp $ */ +/* $OpenBSD: raster_op.c,v 1.4 2002/03/14 01:27:02 millert Exp $ */ /* $NetBSD: raster_op.c,v 1.4 1996/03/14 19:02:30 christos Exp $ */ /*- @@ -500,9 +500,9 @@ static u_int32_t bytemask[4] = { 0x000000ff, 0x0000ff00, 0x00ff0000, 0xff000000 /* Forward routines. */ -static int raster_blit __P((struct raster *, u_int32_t *, int, int, int, +static int raster_blit(struct raster *, u_int32_t *, int, int, int, struct raster *, u_int32_t *, int, int, int, - int, int)); + int, int); /* Raster operations. */ diff --git a/sys/dev/rcons/rcons.h b/sys/dev/rcons/rcons.h index 2f21a2c44f3..b720c9bb680 100644 --- a/sys/dev/rcons/rcons.h +++ b/sys/dev/rcons/rcons.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rcons.h,v 1.3 2001/08/19 15:07:34 miod Exp $ */ +/* $OpenBSD: rcons.h,v 1.4 2002/03/14 01:27:02 millert Exp $ */ /* $NetBSD: rcons.h,v 1.4 1996/03/14 19:02:32 christos Exp $ */ /* @@ -59,7 +59,7 @@ struct rconsole { int rc_linebytes; /* bytes per display line */ int rc_maxrow; /* emulator height of screen */ int rc_maxcol; /* emulator width of screen */ - void (*rc_bell)__P((int)); /* ring the bell */ + void (*rc_bell)(int); /* ring the bell */ /* The following two items may optionally be left zero */ int *rc_row; /* emulator row */ int *rc_col; /* emulator column */ @@ -103,22 +103,22 @@ struct rconsole { /* rcons_kern.c */ -void rcons_cnputc __P((int)); -void rcons_bell __P((struct rconsole *)); -void rcons_init __P((struct rconsole *)); +void rcons_cnputc(int); +void rcons_bell(struct rconsole *); +void rcons_init(struct rconsole *); /* rcons_subr.c */ -void rcons_puts __P((struct rconsole *, unsigned char *, int)); -void rcons_text __P((struct rconsole *, unsigned char *, int)); -void rcons_pctrl __P((struct rconsole *, int)); -void rcons_esc __P((struct rconsole *, int)); -void rcons_doesc __P((struct rconsole *, int)); -void rcons_cursor __P((struct rconsole *)); -void rcons_invert __P((struct rconsole *, int)); -void rcons_clear2eop __P((struct rconsole *)); -void rcons_clear2eol __P((struct rconsole *)); -void rcons_scroll __P((struct rconsole *, int)); -void rcons_delchar __P((struct rconsole *, int)); -void rcons_delline __P((struct rconsole *, int)); -void rcons_insertchar __P((struct rconsole *, int)); -void rcons_insertline __P((struct rconsole *, int)); +void rcons_puts(struct rconsole *, unsigned char *, int); +void rcons_text(struct rconsole *, unsigned char *, int); +void rcons_pctrl(struct rconsole *, int); +void rcons_esc(struct rconsole *, int); +void rcons_doesc(struct rconsole *, int); +void rcons_cursor(struct rconsole *); +void rcons_invert(struct rconsole *, int); +void rcons_clear2eop(struct rconsole *); +void rcons_clear2eol(struct rconsole *); +void rcons_scroll(struct rconsole *, int); +void rcons_delchar(struct rconsole *, int); +void rcons_delline(struct rconsole *, int); +void rcons_insertchar(struct rconsole *, int); +void rcons_insertline(struct rconsole *, int); diff --git a/sys/dev/rcons/rcons_kern.c b/sys/dev/rcons/rcons_kern.c index dac0b162946..96699ad016f 100644 --- a/sys/dev/rcons/rcons_kern.c +++ b/sys/dev/rcons/rcons_kern.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcons_kern.c,v 1.5 2001/08/19 15:07:34 miod Exp $ */ +/* $OpenBSD: rcons_kern.c,v 1.6 2002/03/14 01:27:02 millert Exp $ */ /* $NetBSD: rcons_kern.c,v 1.4 1996/03/14 19:02:33 christos Exp $ */ /* @@ -62,7 +62,7 @@ static void rcons_belltmr(void *); #include "rcons_subr.h" static struct rconsole *mydevicep; -static void rcons_output __P((struct tty *)); +static void rcons_output(struct tty *); void rcons_cnputc(c) diff --git a/sys/dev/rcons/rcons_subr.h b/sys/dev/rcons/rcons_subr.h index 0224ca0f5d6..b6663bffbe3 100644 --- a/sys/dev/rcons/rcons_subr.h +++ b/sys/dev/rcons/rcons_subr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rcons_subr.h,v 1.2 1997/11/07 08:07:42 niklas Exp $ */ +/* $OpenBSD: rcons_subr.h,v 1.3 2002/03/14 01:27:02 millert Exp $ */ /* $NetBSD: rcons_subr.h,v 1.1 1995/10/04 23:57:28 pk Exp $ */ /* @@ -45,18 +45,18 @@ * extracted from: @(#)rcons_subr.c 8.1 (Berkeley) 6/11/93 */ -extern void rcons_puts __P((struct rconsole *, unsigned char *, int)); -extern void rcons_font __P((struct rconsole *)); -extern void rcons_text __P((struct rconsole *, unsigned char *, int)); -extern void rcons_pctrl __P((struct rconsole *, int)); -extern void rcons_esc __P((struct rconsole *, int)); -extern void rcons_doesc __P((struct rconsole *, int)); -extern void rcons_cursor __P((struct rconsole *)); -extern void rcons_invert __P((struct rconsole *, int)); -extern void rcons_clear2eop __P((struct rconsole *)); -extern void rcons_clear2eol __P((struct rconsole *)); -extern void rcons_scroll __P((struct rconsole *, int)); -extern void rcons_delchar __P((struct rconsole *, int)); -extern void rcons_delline __P((struct rconsole *, int)); -extern void rcons_insertchar __P((struct rconsole *, int)); -extern void rcons_insertline __P((struct rconsole *, int)); +extern void rcons_puts(struct rconsole *, unsigned char *, int); +extern void rcons_font(struct rconsole *); +extern void rcons_text(struct rconsole *, unsigned char *, int); +extern void rcons_pctrl(struct rconsole *, int); +extern void rcons_esc(struct rconsole *, int); +extern void rcons_doesc(struct rconsole *, int); +extern void rcons_cursor(struct rconsole *); +extern void rcons_invert(struct rconsole *, int); +extern void rcons_clear2eop(struct rconsole *); +extern void rcons_clear2eol(struct rconsole *); +extern void rcons_scroll(struct rconsole *, int); +extern void rcons_delchar(struct rconsole *, int); +extern void rcons_delline(struct rconsole *, int); +extern void rcons_insertchar(struct rconsole *, int); +extern void rcons_insertline(struct rconsole *, int); |