summaryrefslogtreecommitdiffstats
path: root/sys/dev/rasops/rasops.h
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2020-05-25 06:45:25 +0000
committerjsg <jsg@openbsd.org>2020-05-25 06:45:25 +0000
commitfc223b232cff7e51a9474209d53006b4ae5898e7 (patch)
treed686bcf653c8636db97661bfec3b878368cb166d /sys/dev/rasops/rasops.h
parentKill unused cdev_pc_init(). (diff)
downloadwireguard-openbsd-fc223b232cff7e51a9474209d53006b4ae5898e7.tar.xz
wireguard-openbsd-fc223b232cff7e51a9474209d53006b4ae5898e7.zip
rename wsdisplay alloc_attr() to pack_attr()
Suggested by John Carmack. miod agrees a rename would make sense and explained it was initially thought drivers may need to allocate storage but in practice they don't need more than 32 bits for an attribute. ok mpi@
Diffstat (limited to 'sys/dev/rasops/rasops.h')
-rw-r--r--sys/dev/rasops/rasops.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/rasops/rasops.h b/sys/dev/rasops/rasops.h
index 89de261be89..b292f464dcf 100644
--- a/sys/dev/rasops/rasops.h
+++ b/sys/dev/rasops/rasops.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rasops.h,v 1.23 2018/08/27 09:30:07 kettenis Exp $ */
+/* $OpenBSD: rasops.h,v 1.24 2020/05/25 06:45:26 jsg Exp $ */
/* $NetBSD: rasops.h,v 1.13 2000/06/13 13:36:54 ad Exp $ */
/*-
@@ -135,7 +135,7 @@ struct rasops_info {
int (*ri_erasecols)(void *, int, int, int, long);
int (*ri_copyrows)(void *, int, int, int);
int (*ri_eraserows)(void *, int, int, long);
- int (*ri_alloc_attr)(void *, int, int, int, long *);
+ int (*ri_pack_attr)(void *, int, int, int, long *);
};
#define DELTA(p, d, cast) ((p) = (cast)((caddr_t)(p) + (d)))