aboutsummaryrefslogtreecommitdiffstats
path: root/cmd.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2015-08-14 15:54:32 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2015-08-14 15:54:32 +0200
commit03de473354dc8c17a3b23a973b5cc67752ad20cb (patch)
tree9ec8e24b626018876eb266c24464ff2e0ae0dde1 /cmd.h
parentc5975ae56684a1188637f2bdba7d8e18de075abc (diff)
cmd: no need for pre function hook now
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'cmd.h')
-rw-r--r--cmd.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd.h b/cmd.h
index 1a98089..6249b1d 100644
--- a/cmd.h
+++ b/cmd.h
@@ -2,12 +2,10 @@
#define CMD_H
typedef void (*cgit_cmd_fn)(void);
-typedef void (*cgit_cmd_pre_fn)(void);
struct cgit_cmd {
const char *name;
cgit_cmd_fn fn;
- cgit_cmd_pre_fn pre;
unsigned int want_repo:1,
want_vpath:1,
is_clone:1;