diff options
Diffstat (limited to 'cmd.h')
| -rw-r--r-- | cmd.h | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,7 +1,7 @@ | |||
| 1 | #ifndef CMD_H | 1 | #ifndef CMD_H |
| 2 | #define CMD_H | 2 | #define CMD_H |
| 3 | 3 | ||
| 4 | typedef void (*cgit_cmd_fn)(struct cgit_context *ctx); | 4 | typedef void (*cgit_cmd_fn)(void); |
| 5 | 5 | ||
| 6 | struct cgit_cmd { | 6 | struct cgit_cmd { |
| 7 | const char *name; | 7 | const char *name; |
| @@ -12,6 +12,6 @@ struct cgit_cmd { | |||
| 12 | is_clone:1; | 12 | is_clone:1; |
| 13 | }; | 13 | }; |
| 14 | 14 | ||
| 15 | extern struct cgit_cmd *cgit_get_cmd(struct cgit_context *ctx); | 15 | extern struct cgit_cmd *cgit_get_cmd(void); |
| 16 | 16 | ||
| 17 | #endif /* CMD_H */ | 17 | #endif /* CMD_H */ |
