Show More
@@ -63,7 +63,7 b' struct hunk {' | |||
|
63 | 63 | struct hunk *next; |
|
64 | 64 | }; |
|
65 | 65 | |
|
66 | int splitlines(const char *a, int len, struct line **lr) | |
|
66 | static int splitlines(const char *a, int len, struct line **lr) | |
|
67 | 67 | { |
|
68 | 68 | int h, i; |
|
69 | 69 | const char *p, *b = a; |
@@ -103,7 +103,7 b' int splitlines(const char *a, int len, s' | |||
|
103 | 103 | return i - 1; |
|
104 | 104 | } |
|
105 | 105 | |
|
106 |
|
|
|
106 | static inline int cmp(struct line *a, struct line *b) | |
|
107 | 107 | { |
|
108 | 108 | return a->h != b->h || a->len != b->len || memcmp(a->l, b->l, a->len); |
|
109 | 109 | } |
General Comments 0
You need to be logged in to leave comments.
Login now