From a68114a4d1f9b72ae94d13d92fa8a1b41749d1f7 Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Wed, 23 Mar 2011 02:33:21 +0100 Subject: [PATCH] bdiff.c: make all local functions static --- mercurial/bdiff.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mercurial/bdiff.c b/mercurial/bdiff.c index a5e98521b2..43790294e1 100644 --- 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, struct line **lr) 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); }