summaryrefslogtreecommitdiff
path: root/t/helper/test-example-decorate.c
diff options
context:
space:
mode:
Diffstat (limited to 't/helper/test-example-decorate.c')
-rw-r--r--t/helper/test-example-decorate.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/t/helper/test-example-decorate.c b/t/helper/test-example-decorate.c
index b9d1200eb9..2ed910adaa 100644
--- a/t/helper/test-example-decorate.c
+++ b/t/helper/test-example-decorate.c
@@ -1,9 +1,10 @@
#include "test-tool.h"
-#include "cache.h"
+#include "git-compat-util.h"
#include "object.h"
#include "decorate.h"
+#include "repository.h"
-int cmd__example_decorate(int argc, const char **argv)
+int cmd__example_decorate(int argc UNUSED, const char **argv UNUSED)
{
struct decoration n;
struct object_id one_oid = { {1} };