diff options
Diffstat (limited to 'src/gistatic.c')
-rw-r--r-- | src/gistatic.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/gistatic.c b/src/gistatic.c index a2b10fc..0a65b6c 100644 --- a/src/gistatic.c +++ b/src/gistatic.c @@ -1,4 +1,5 @@ #include "config.h" +#include "tar.h" #include "gistatic.h" #include <stdlib.h> @@ -2046,7 +2047,7 @@ cleanup: } #ifdef TEST -static void unit_tests(){ +void unit_tests_gistatic(void) { dump_translatable_strings(); git_libgit2_init(); @@ -2182,10 +2183,3 @@ cleanup: } return ret; } - -#ifdef TEST -int main(void) { - unit_tests(); - return EXIT_SUCCESS; -} -#endif |