clar: haha
diff --git a/tests-clar/main.c b/tests-clar/main.c
index 0102c91..6b49893 100644
--- a/tests-clar/main.c
+++ b/tests-clar/main.c
@@ -1,11 +1,10 @@
#include "clar_libgit2.h"
#ifdef _WIN32
-__cdecl int
+int __cdecl main(int argc, char *argv[])
#else
-int
+int main(int argc, char *argv[])
#endif
-main(int argc, char *argv[])
{
int res;