summaryrefslogtreecommitdiff
path: root/sys/dev/rasops/rasops.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-12-02 18:02:54 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-12-02 18:02:54 +0000
commitcdb45c5afbeb2ba38f5dc9393f66045604b6b75d (patch)
tree9ad1d9bf45a6833666e3cb19e8e7630c6e36b35e /sys/dev/rasops/rasops.c
parent51907b121b9a8c36e05eadfcccd0c90e1068178a (diff)
Oops, prevent a warning if rasops_bswap is not required.
Diffstat (limited to 'sys/dev/rasops/rasops.c')
-rw-r--r--sys/dev/rasops/rasops.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/rasops/rasops.c b/sys/dev/rasops/rasops.c
index 78c02107db7..ae750688d55 100644
--- a/sys/dev/rasops/rasops.c
+++ b/sys/dev/rasops/rasops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rasops.c,v 1.16 2006/12/02 15:55:18 miod Exp $ */
+/* $OpenBSD: rasops.c,v 1.17 2006/12/02 18:02:53 miod Exp $ */
/* $NetBSD: rasops.c,v 1.35 2001/02/02 06:01:01 marcus Exp $ */
/*-
@@ -147,8 +147,9 @@ int rasops_alloc_mattr(void *, int, int, int, long *);
void rasops_do_cursor(struct rasops_info *);
void rasops_init_devcmap(struct rasops_info *);
void rasops_unpack_attr(void *, long, int *, int *, int *);
+#if NRASOPS_BSWAP > 0
static void slow_ovbcopy(void *, void *, size_t);
-
+#endif
#if NRASOPS_ROTATION > 0
void rasops_copychar(void *, int, int, int, int);
void rasops_copycols_rotated(void *, int, int, int, int);