diff options
| -rw-r--r-- | cgit.h | 3 | ||||
| -rw-r--r-- | shared.c | 4 |
2 files changed, 5 insertions, 2 deletions
| @@ -340,6 +340,9 @@ extern int cgit_refs_cb(const char *refname, const struct object_id *oid, | |||
| 340 | 340 | ||
| 341 | extern void *cgit_free_commitinfo(struct commitinfo *info); | 341 | extern void *cgit_free_commitinfo(struct commitinfo *info); |
| 342 | 342 | ||
| 343 | void cgit_diff_tree_cb(struct diff_queue_struct *q, | ||
| 344 | struct diff_options *options, void *data); | ||
| 345 | |||
| 343 | extern int cgit_diff_files(const unsigned char *old_sha1, | 346 | extern int cgit_diff_files(const unsigned char *old_sha1, |
| 344 | const unsigned char *new_sha1, | 347 | const unsigned char *new_sha1, |
| 345 | unsigned long *old_size, unsigned long *new_size, | 348 | unsigned long *old_size, unsigned long *new_size, |
| @@ -250,8 +250,8 @@ int cgit_refs_cb(const char *refname, const struct object_id *oid, int flags, | |||
| 250 | return 0; | 250 | return 0; |
| 251 | } | 251 | } |
| 252 | 252 | ||
| 253 | static void cgit_diff_tree_cb(struct diff_queue_struct *q, | 253 | void cgit_diff_tree_cb(struct diff_queue_struct *q, |
| 254 | struct diff_options *options, void *data) | 254 | struct diff_options *options, void *data) |
| 255 | { | 255 | { |
| 256 | int i; | 256 | int i; |
| 257 | 257 | ||
