summaryrefslogtreecommitdiff
path: root/sys/dev/wsfont/wsfont.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-09-15 20:23:11 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-09-15 20:23:11 +0000
commit6759b09d281d276d3b3d54ffbef1c9980df9d67f (patch)
tree4a4c5917557819414a798bb184a102c0bf525cef /sys/dev/wsfont/wsfont.h
parent64393cf110217509a46347626cda13bdde46cf22 (diff)
Stop compiling the texte console rotation code #ifdef __zaurus__, but use
a flag in the rasops_info structure; drivers which may use it shall declare a specific attribute for the config(8) machinery, so that the necessary code is compiled in. In addition to this, rotated font computation is now done on-demand, and a list of unrotated-rotated font cookie pairs is kept, rather than rotating all built-in wsfonts at initialization time. No user-perceptible functional change. Tested matthieu@ uwe@, ok uwe@
Diffstat (limited to 'sys/dev/wsfont/wsfont.h')
-rw-r--r--sys/dev/wsfont/wsfont.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/wsfont/wsfont.h b/sys/dev/wsfont/wsfont.h
index 2770e201410..000d53d1a42 100644
--- a/sys/dev/wsfont/wsfont.h
+++ b/sys/dev/wsfont/wsfont.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsfont.h,v 1.3 2002/03/14 03:16:08 millert Exp $ */
+/* $OpenBSD: wsfont.h,v 1.4 2005/09/15 20:23:10 miod Exp $ */
/* $NetBSD: wsfont.h,v 1.12 2000/06/13 13:37:07 ad Exp $ */
/*-
@@ -82,5 +82,6 @@ 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);
+int wsfont_rotate(int);
#endif /* !_WSFONT_H_ */