Show More
@@ -63,7 +63,7 b' struct hunk {' | |||||
63 | struct hunk *next; |
|
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 | int h, i; |
|
68 | int h, i; | |
69 | const char *p, *b = a; |
|
69 | const char *p, *b = a; | |
@@ -103,7 +103,7 b' int splitlines(const char *a, int len, s' | |||||
103 | return i - 1; |
|
103 | return i - 1; | |
104 | } |
|
104 | } | |
105 |
|
105 | |||
106 |
|
|
106 | static inline int cmp(struct line *a, struct line *b) | |
107 | { |
|
107 | { | |
108 | return a->h != b->h || a->len != b->len || memcmp(a->l, b->l, a->len); |
|
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