summaryrefslogtreecommitdiff
path: root/test/utils.h
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <ssp@redhat.com>2010-08-23 21:02:02 -0400
committerSøren Sandmann Pedersen <ssp@redhat.com>2010-12-17 16:57:53 -0500
commit337f0bff0d8965cb702175e0eedbf418b1e7f0b5 (patch)
tree815f7607f498613951cb6c0682b4514f81ba75c6 /test/utils.h
parent2444b2265abeaf6dcf3df1763bc2711684e63bb8 (diff)
test: Move palette initialization to utils.[ch]
Diffstat (limited to 'test/utils.h')
-rw-r--r--test/utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/utils.h b/test/utils.h
index bac2916..7b33461 100644
--- a/test/utils.h
+++ b/test/utils.h
@@ -123,3 +123,6 @@ void enable_fp_exceptions(void);
/* Try to get an aligned memory chunk */
void *
aligned_malloc (size_t align, size_t size);
+
+void
+initialize_palette (pixman_indexed_t *palette, uint32_t depth, int is_rgb);