# HG changeset patch
# User Markus F.X.J. Oberhumer <markus@oberhumer.com>
# Date 2011-03-23 01:33:21
# Node ID 4a9c09239ba13a17bc2ee0d1cb504b9850b74dc4
# Parent  15d1db2abfcb0a78f70afc81e8a5a1be0cd00640

bdiff.c: make all local functions static

diff --git a/mercurial/bdiff.c b/mercurial/bdiff.c
--- a/mercurial/bdiff.c
+++ b/mercurial/bdiff.c
@@ -63,7 +63,7 @@ struct hunk {
 	struct hunk *next;
 };
 
-int splitlines(const char *a, int len, struct line **lr)
+static int splitlines(const char *a, int len, struct line **lr)
 {
 	int h, i;
 	const char *p, *b = a;
@@ -103,7 +103,7 @@ int splitlines(const char *a, int len, s
 	return i - 1;
 }
 
-int inline cmp(struct line *a, struct line *b)
+static inline int cmp(struct line *a, struct line *b)
 {
 	return a->h != b->h || a->len != b->len || memcmp(a->l, b->l, a->len);
 }