changeset 13729:4a9c09239ba1

bdiff.c: make all local functions static
author Markus F.X.J. Oberhumer <markus@oberhumer.com>
date Wed, 23 Mar 2011 02:33:21 +0100
parents 15d1db2abfcb
children df978f28a259
files mercurial/bdiff.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/bdiff.c	Wed Mar 23 09:20:40 2011 -0500
+++ b/mercurial/bdiff.c	Wed Mar 23 02:33:21 2011 +0100
@@ -63,7 +63,7 @@
 	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 @@
 	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);
 }