summaryrefslogtreecommitdiff
path: root/xserver/test/hashtabletest.c
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/test/hashtabletest.c')
-rw-r--r--xserver/test/hashtabletest.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/xserver/test/hashtabletest.c b/xserver/test/hashtabletest.c
index 86a0c58c6..0387587cb 100644
--- a/xserver/test/hashtabletest.c
+++ b/xserver/test/hashtabletest.c
@@ -8,6 +8,8 @@
#include "hashtable.h"
#include "resource.h"
+#include "tests-common.h"
+
static void
print_xid(void* ptr, void* v)
{
@@ -154,7 +156,7 @@ test3(void)
}
int
-main(void)
+hashtabletest_test(void)
{
int ok = test1();
ok = ok && test2();