summaryrefslogtreecommitdiff
path: root/sys/dev/wsfont
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/wsfont
parent7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff)
First round of __P removal in sys
Diffstat (limited to 'sys/dev/wsfont')
-rw-r--r--sys/dev/wsfont/wsfont.c10
-rw-r--r--sys/dev/wsfont/wsfont.h20
2 files changed, 15 insertions, 15 deletions
diff --git a/sys/dev/wsfont/wsfont.c b/sys/dev/wsfont/wsfont.c
index 01545f24a7c..92a8ef53da7 100644
--- a/sys/dev/wsfont/wsfont.c
+++ b/sys/dev/wsfont/wsfont.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsfont.c,v 1.1 2001/03/18 04:30:24 nate Exp $ */
+/* $OpenBSD: wsfont.c,v 1.2 2002/03/14 01:27:03 millert Exp $ */
/* $NetBSD: wsfont.c,v 1.17 2001/02/07 13:59:24 ad Exp $ */
/*-
@@ -186,9 +186,9 @@ static const u_char reverse[256] = {
0x1f, 0x9f, 0x5f, 0xdf, 0x3f, 0xbf, 0x7f, 0xff,
};
-static struct font *wsfont_find0 __P((int));
-static void wsfont_revbit __P((struct wsdisplay_font *));
-static void wsfont_revbyte __P((struct wsdisplay_font *));
+static struct font *wsfont_find0(int);
+static void wsfont_revbit(struct wsdisplay_font *);
+static void wsfont_revbyte(struct wsdisplay_font *);
/*
* Reverse the bit order of a font
@@ -242,7 +242,7 @@ wsfont_revbyte(font)
*/
void
wsfont_enum(cb)
- void (*cb) __P((char *, int, int, int));
+ void (*cb)(char *, int, int, int);
{
struct wsdisplay_font *f;
struct font *ent;
diff --git a/sys/dev/wsfont/wsfont.h b/sys/dev/wsfont/wsfont.h
index 65bd51cf926..c38221cf785 100644
--- a/sys/dev/wsfont/wsfont.h
+++ b/sys/dev/wsfont/wsfont.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsfont.h,v 1.1 2001/03/18 04:30:24 nate Exp $ */
+/* $OpenBSD: wsfont.h,v 1.2 2002/03/14 01:27:03 millert Exp $ */
/* $NetBSD: wsfont.h,v 1.12 2000/06/13 13:37:07 ad Exp $ */
/*-
@@ -73,14 +73,14 @@ struct wsdisplay_font;
#define WSFONT_RDONLY (0x04)
/* wsfont.c */
-void wsfont_init __P((void));
-int wsfont_find __P((char *, int, int, int));
-int wsfont_add __P((struct wsdisplay_font *, int));
-int wsfont_remove __P((int));
-void wsfont_enum __P((void (*) __P((char *, int, int, int))));
-int wsfont_lock __P((int, struct wsdisplay_font **, int, int));
-int wsfont_unlock __P((int));
-int wsfont_getflg __P((int, int *, int *));
-int wsfont_map_unichar __P((struct wsdisplay_font *, int));
+void wsfont_init(void);
+int wsfont_find(char *, int, int, int);
+int wsfont_add(struct wsdisplay_font *, int);
+int wsfont_remove(int);
+void wsfont_enum __P((void (*)(char *, int, int, int)));
+int wsfont_lock(int, struct wsdisplay_font **, int, int);
+int wsfont_unlock(int);
+int wsfont_getflg(int, int *, int *);
+int wsfont_map_unichar(struct wsdisplay_font *, int);
#endif /* !_WSFONT_H_ */