summaryrefslogtreecommitdiff
path: root/test/common.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2013-03-18 21:02:35 +0000
committerDaniel Stone <daniel@fooishbar.org>2013-03-19 10:28:23 +0000
commit54f95f496f58e1cce7a6af1925adf61eb5d44591 (patch)
tree49697cea9512ea7857752a1c75c51fd50659bc06 /test/common.c
parenta1f203c031777d654d6a1b1377ad6be986db402f (diff)
downloadxorg-lib-libxkbcommon-54f95f496f58e1cce7a6af1925adf61eb5d44591.tar.gz
test: Add flags argument to test_get_context()
Allowing overriding of environment suppression, at first. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'test/common.c')
-rw-r--r--test/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/common.c b/test/common.c
index 400d872..df79272 100644
--- a/test/common.c
+++ b/test/common.c
@@ -183,7 +183,7 @@ test_read_file(const char *path_rel)
}
struct xkb_context *
-test_get_context(void)
+test_get_context(enum test_context_flags test_flags)
{
struct xkb_context *ctx = xkb_context_new(XKB_CONTEXT_NO_DEFAULT_INCLUDES);