Show More
@@ -15,12 +15,13 b'' | |||
|
15 | 15 | #include <string.h> |
|
16 | 16 | #include <limits.h> |
|
17 | 17 | |
|
18 | #include "compat.h" | |
|
18 | 19 | #include "util.h" |
|
19 | 20 | #include "bitmanipulation.h" |
|
20 | 21 | |
|
21 | 22 | struct line { |
|
22 | 23 | int hash, n, e; |
|
23 |
|
|
|
24 | ssize_t len; | |
|
24 | 25 | const char *l; |
|
25 | 26 | }; |
|
26 | 27 | |
@@ -34,7 +35,7 b' struct hunk {' | |||
|
34 | 35 | struct hunk *next; |
|
35 | 36 | }; |
|
36 | 37 | |
|
37 |
static int splitlines(const char *a, |
|
|
38 | static int splitlines(const char *a, ssize_t len, struct line **lr) | |
|
38 | 39 | { |
|
39 | 40 | unsigned hash; |
|
40 | 41 | int i; |
General Comments 0
You need to be logged in to leave comments.
Login now