summaryrefslogtreecommitdiff
path: root/xserver/test/xi2/protocol-eventconvert.c
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/test/xi2/protocol-eventconvert.c')
-rw-r--r--xserver/test/xi2/protocol-eventconvert.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/xserver/test/xi2/protocol-eventconvert.c b/xserver/test/xi2/protocol-eventconvert.c
index aea380ed5..8d19d5339 100644
--- a/xserver/test/xi2/protocol-eventconvert.c
+++ b/xserver/test/xi2/protocol-eventconvert.c
@@ -33,6 +33,8 @@
#include "inpututils.h"
#include <X11/extensions/XI2proto.h>
+#include "protocol-common.h"
+
static void
test_values_XIRawEvent(RawDeviceEvent *in, xXIRawEvent * out, BOOL swap)
{
@@ -1200,7 +1202,7 @@ test_convert_XIBarrierEvent(void)
}
int
-main(int argc, char **argv)
+protocol_eventconvert_test(void)
{
test_convert_XIRawEvent();
test_convert_XIFocusEvent();