summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/pci/vgafb.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/arch/macppc/pci/vgafb.c
parent7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff)
First round of __P removal in sys
Diffstat (limited to 'sys/arch/macppc/pci/vgafb.c')
-rw-r--r--sys/arch/macppc/pci/vgafb.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/sys/arch/macppc/pci/vgafb.c b/sys/arch/macppc/pci/vgafb.c
index 118c4e1f0cd..e97cddf3385 100644
--- a/sys/arch/macppc/pci/vgafb.c
+++ b/sys/arch/macppc/pci/vgafb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vgafb.c,v 1.5 2001/12/14 03:08:54 jason Exp $ */
+/* $OpenBSD: vgafb.c,v 1.6 2002/03/14 01:26:37 millert Exp $ */
/* $NetBSD: vga.c,v 1.3 1996/12/02 22:24:54 cgd Exp $ */
/*
@@ -63,15 +63,15 @@ struct cfdriver vgafb_cd = {
NULL, "vgafb", DV_DULL,
};
-void vgafb_cursor __P((void *, int, int, int));
-void vgafb_putchar __P((void *, int, int, u_int, long));
-void vgafb_copycols __P((void *, int, int, int, int));
-void vgafb_erasecols __P((void *, int, int, int));
-void vgafb_copyrows __P((void *, int, int, int));
-void vgafb_eraserows __P((void *, int, int));
-void vgafb_alloc_attr __P((void *c, int fg, int bg, int flags, long *));
+void vgafb_cursor(void *, int, int, int);
+void vgafb_putchar(void *, int, int, u_int, long);
+void vgafb_copycols(void *, int, int, int, int);
+void vgafb_erasecols(void *, int, int, int);
+void vgafb_copyrows(void *, int, int, int);
+void vgafb_eraserows(void *, int, int);
+void vgafb_alloc_attr(void *c, int fg, int bg, int flags, long *);
-void vgafb_setcolor __P((unsigned int index, u_int8_t r, u_int8_t g, u_int8_t b));
+void vgafb_setcolor(unsigned int index, u_int8_t r, u_int8_t g, u_int8_t b);
struct vgafb_devconfig {
struct rcons dc_ri;
@@ -118,8 +118,8 @@ struct wsdisplay_accessops vgafb_accessops = {
0 /* load_font */
};
-int vgafb_getcmap __P((struct vgafb_config *vc, struct wsdisplay_cmap *cm));
-int vgafb_putcmap __P((struct vgafb_config *vc, struct wsdisplay_cmap *cm));
+int vgafb_getcmap(struct vgafb_config *vc, struct wsdisplay_cmap *cm);
+int vgafb_putcmap(struct vgafb_config *vc, struct wsdisplay_cmap *cm);
#define FONT_WIDTH 8
#define FONT_HEIGHT 16