From 73ef8567f04c2dea8fbf83213b28e0cd1dff98f3 Mon Sep 17 00:00:00 2001 From: John Keeping Date: Fri, 14 Aug 2015 15:20:23 +0100 Subject: cmd: fix command definition The previous commit removed the "pre" field from "struct cgit_cmd" but forgot to update this macro. Signed-off-by: John Keeping Reviewed-by: Christian Hesse --- cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd.c b/cmd.c index 20c80b0..c991092 100644 --- a/cmd.c +++ b/cmd.c @@ -142,7 +142,7 @@ static void tree_fn(void) } #define def_cmd(name, want_repo, want_vpath, is_clone) \ - {#name, name##_fn, NULL, want_repo, want_vpath, is_clone} + {#name, name##_fn, want_repo, want_vpath, is_clone} struct cgit_cmd *cgit_get_cmd(void) { -- cgit 1.4.1-21-gabe81