summaryrefslogtreecommitdiff
path: root/t/helper/test-genrandom.c
diff options
context:
space:
mode:
Diffstat (limited to 't/helper/test-genrandom.c')
-rw-r--r--t/helper/test-genrandom.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/helper/test-genrandom.c b/t/helper/test-genrandom.c
index 8d11d22..99b8dc1 100644
--- a/t/helper/test-genrandom.c
+++ b/t/helper/test-genrandom.c
@@ -4,9 +4,10 @@
* Copyright (C) 2007 by Nicolas Pitre, licensed under the GPL version 2.
*/
+#include "test-tool.h"
#include "git-compat-util.h"
-int cmd_main(int argc, const char **argv)
+int cmd__genrandom(int argc, const char **argv)
{
unsigned long count, next = 0;
unsigned char *c;