diff options
author | Jason A. Donenfeld | 2015-08-14 15:54:32 +0200 |
---|---|---|
committer | Jason A. Donenfeld | 2015-08-14 15:54:32 +0200 |
commit | 03de473354dc8c17a3b23a973b5cc67752ad20cb (patch) | |
tree | 9ec8e24b626018876eb266c24464ff2e0ae0dde1 /cmd.h | |
parent | c5975ae56684a1188637f2bdba7d8e18de075abc (diff) | |
download | cgit-03de473354dc8c17a3b23a973b5cc67752ad20cb.tar.gz cgit-03de473354dc8c17a3b23a973b5cc67752ad20cb.tar.bz2 cgit-03de473354dc8c17a3b23a973b5cc67752ad20cb.zip |
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.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -2,12 +2,10 @@ | |||
2 | #define CMD_H | 2 | #define CMD_H |
3 | 3 | ||
4 | typedef void (*cgit_cmd_fn)(void); | 4 | typedef void (*cgit_cmd_fn)(void); |
5 | typedef void (*cgit_cmd_pre_fn)(void); | ||
6 | 5 | ||
7 | struct cgit_cmd { | 6 | struct cgit_cmd { |
8 | const char *name; | 7 | const char *name; |
9 | cgit_cmd_fn fn; | 8 | cgit_cmd_fn fn; |
10 | cgit_cmd_pre_fn pre; | ||
11 | unsigned int want_repo:1, | 9 | unsigned int want_repo:1, |
12 | want_vpath:1, | 10 | want_vpath:1, |
13 | is_clone:1; | 11 | is_clone:1; |