Unidiff1 files changed, 1 insertions, 1 deletions
|
diff --git a/ui-blob.c b/ui-blob.c index bd44574..3b29132 100644 --- a/ ui-blob.c+++ b/ ui-blob.c |
|
@@ -4,17 +4,17 @@ |
4 | * |
4 | * |
5 | * Licensed under GNU General Public License v2 |
5 | * Licensed under GNU General Public License v2 |
6 | * (see COPYING for full license text) |
6 | * (see COPYING for full license text) |
7 | */ |
7 | */ |
8 | |
8 | |
9 | #include "cgit.h" |
9 | #include "cgit.h" |
10 | #include "html.h" |
10 | #include "html.h" |
11 | |
11 | |
12 | void cgit_print_blob(struct cacheitem *item, const char *hex, char *path) |
12 | void cgit_print_blob(const char *hex, char *path) |
13 | { |
13 | { |
14 | |
14 | |
15 | unsigned char sha1[20]; |
15 | unsigned char sha1[20]; |
16 | enum object_type type; |
16 | enum object_type type; |
17 | unsigned char *buf; |
17 | unsigned char *buf; |
18 | unsigned long size; |
18 | unsigned long size; |
19 | |
19 | |
20 | if (get_sha1_hex(hex, sha1)){ |
20 | if (get_sha1_hex(hex, sha1)){ |
|