fix worktree test build
diff --git a/regress/worktree/worktree_test.c b/regress/worktree/worktree_test.c
index eca73fe..a6f98b4 100644
--- a/regress/worktree/worktree_test.c
+++ b/regress/worktree/worktree_test.c
@@ -296,6 +296,11 @@ done:
return (ok == 6);
}
+static void
+process_cb(void *arg, const char *path)
+{
+}
+
static int
worktree_checkout(const char *repo_path)
{
@@ -328,7 +333,8 @@ worktree_checkout(const char *repo_path)
if (err != NULL)
goto done;
- err = got_worktree_checkout_files(worktree, head_ref, repo);
+ err = got_worktree_checkout_files(worktree, head_ref, repo,
+ process_cb, NULL);
if (err != NULL)
goto done;