summaryrefslogtreecommitdiff
path: root/xserver/test/xi2/protocol-xiquerydevice.c
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/test/xi2/protocol-xiquerydevice.c')
-rw-r--r--xserver/test/xi2/protocol-xiquerydevice.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/xserver/test/xi2/protocol-xiquerydevice.c b/xserver/test/xi2/protocol-xiquerydevice.c
index deef1f180..a068038fd 100644
--- a/xserver/test/xi2/protocol-xiquerydevice.c
+++ b/xserver/test/xi2/protocol-xiquerydevice.c
@@ -54,6 +54,8 @@ struct test_data {
int num_devices_in_reply;
};
+ClientRec client_window;
+
static void reply_XIQueryDevice_data(ClientPtr client, int len, char *data,
void *closure);
static void reply_XIQueryDevice(ClientPtr client, int len, char *data,
@@ -333,7 +335,7 @@ test_XIQueryDevice(void)
}
int
-main(int argc, char **argv)
+protocol_xiquerydevice_test(void)
{
init_simple();