summaryrefslogtreecommitdiff
path: root/sys/dev/rasops/rasops.h
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2020-05-25 06:45:27 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2020-05-25 06:45:27 +0000
commit3e39b250169e8ef15507000e9603f0a5558e90da (patch)
treebc7d06cc23253bebf59e60d5313c9eab983e0364 /sys/dev/rasops/rasops.h
parent1d7dc5e6a2e9035f5991e4762929b6cf6ec25621 (diff)
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)))