{"thread":{"id":"43924","subject":"[PATCH] diff: mark a file-local symbol static","startedAt":"2016-08-24T15:27:34Z","lastAt":"2016-08-24T15:27:34Z","messageCount":1,"participants":["Ramsay Jones"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"300053","messageId":"a27aa17e-f602-fc49-92b3-2198e4772e47@ramsayjones.plus.com","threadId":"43924","inReplyTo":null,"subject":"[PATCH] diff: mark a file-local symbol static","fromName":"Ramsay Jones","fromEmail":"ramsay@ramsayjones.plus.com","sentAt":"2016-08-24T15:27:26Z","receivedAt":"2016-08-24T15:27:34Z","isPatch":true,"sender":{"key":"ramsay@ramsayjones.plus.com","avatar":"https://avatars.githubusercontent.com/u/33702710?v=4"},"body":"\nSigned-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>\n---\n\nHi Michael,\n\nIf you need to re-roll your 'mh/diff-indent-heuristic' branch, could\nyou please squash this into the relevant patch (commit 8f5cc189,\n\"diff: improve positioning of add/delete blocks in diffs\", 22-08-2016).\n\nThanks!\n\nATB,\nRamsay Jones\n\n xdiff/xdiffi.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/xdiff/xdiffi.c b/xdiff/xdiffi.c\nindex dc79628..67c1ccc 100644\n--- a/xdiff/xdiffi.c\n+++ b/xdiff/xdiffi.c\n@@ -684,7 +684,7 @@ static void score_add_split(const struct split_measurement *m, struct split_scor\n \t}\n }\n \n-int score_cmp(struct split_score *s1, struct split_score *s2)\n+static int score_cmp(struct split_score *s1, struct split_score *s2)\n {\n \t/* -1 if s1.effective_indent < s2->effective_indent, etc. */\n \tint cmp_indents = ((s1->effective_indent > s2->effective_indent) -\n-- \n2.9.0\n"}]}