summaryrefslogtreecommitdiff
path: root/t/helper/test-mktemp.c
diff options
context:
space:
mode:
Diffstat (limited to 't/helper/test-mktemp.c')
-rw-r--r--t/helper/test-mktemp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helper/test-mktemp.c b/t/helper/test-mktemp.c
index c8c54213a3..89d9b2f7be 100644
--- a/t/helper/test-mktemp.c
+++ b/t/helper/test-mktemp.c
@@ -3,7 +3,7 @@
*/
#include "git-compat-util.h"
-int main(int argc, char *argv[])
+int cmd_main(int argc, const char **argv)
{
if (argc != 2)
usage("Expected 1 parameter defining the temporary file template");