diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2010-08-28 12:48:15 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2010-08-28 12:48:15 +0000 |
commit | f7cf4d10949f12edbb81d9835b916e5b64a064a4 (patch) | |
tree | 6e8add779a9b52ef82d5b39264f95b539f1a29f0 /sys/dev/rasops/rasops32.c | |
parent | e141fb7001e71fe81f6968549e363c111add17b2 (diff) |
ansify function definitions, and constify a few arrays while there.
no functional change.
Diffstat (limited to 'sys/dev/rasops/rasops32.c')
-rw-r--r-- | sys/dev/rasops/rasops32.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/sys/dev/rasops/rasops32.c b/sys/dev/rasops/rasops32.c index 7884b9dd094..60719ea4537 100644 --- a/sys/dev/rasops/rasops32.c +++ b/sys/dev/rasops/rasops32.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rasops32.c,v 1.6 2009/09/05 14:09:35 miod Exp $ */ +/* $OpenBSD: rasops32.c,v 1.7 2010/08/28 12:48:14 miod Exp $ */ /* $NetBSD: rasops32.c,v 1.7 2000/04/12 14:22:29 pk Exp $ */ /*- @@ -44,8 +44,7 @@ int rasops32_putchar(void *, int, int, u_int, long); * Initialize a 'rasops_info' descriptor for this depth. */ void -rasops32_init(ri) - struct rasops_info *ri; +rasops32_init(struct rasops_info *ri) { if (ri->ri_rnum == 0) { @@ -64,11 +63,7 @@ rasops32_init(ri) * Paint a single character. */ int -rasops32_putchar(cookie, row, col, uc, attr) - void *cookie; - int row, col; - u_int uc; - long attr; +rasops32_putchar(void *cookie, int row, int col, u_int uc, long attr) { int width, height, cnt, fs, fb, clr[2]; struct rasops_info *ri; |