Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2013-01-04 23:00:09 +0400
committerVicent Marti <tanoku@gmail.com>2013-01-04 23:00:09 +0400
commit73b58c9159204c0a0ca6ff48295f8395d46e8a3d (patch)
tree0dc6cd904e92127276f242c5b6066ded3686b4a0 /tests-clar/main.c
parent27fe6efe85ef11a3a765640065aa08156f130874 (diff)
clar: fix warning on Windows
Diffstat (limited to 'tests-clar/main.c')
-rw-r--r--tests-clar/main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests-clar/main.c b/tests-clar/main.c
index e9b3b641c..0102c91c4 100644
--- a/tests-clar/main.c
+++ b/tests-clar/main.c
@@ -1,6 +1,11 @@
#include "clar_libgit2.h"
-int main(int argc, char *argv[])
+#ifdef _WIN32
+__cdecl int
+#else
+int
+#endif
+main(int argc, char *argv[])
{
int res;