mpatch: change lalloc() to local function
authorYuya Nishihara <yuya@tcha.org>
Sun, 07 Aug 2016 09:40:30 +0900
changeset 29741 9a1685c70db4
parent 29740 21ac534d7d30
child 29742 b410e26692a4
mpatch: change lalloc() to local function It was mistakenly made public at b9b9f9a92481.
mercurial/mpatch.c
--- a/mercurial/mpatch.c	Sun Aug 07 09:49:07 2016 +0900
+++ b/mercurial/mpatch.c	Sun Aug 07 09:40:30 2016 +0900
@@ -30,7 +30,7 @@
 char *mpatch_errors[] = {NULL, "invalid patch", "patch cannot be decoded",
 						"no memory"};
 
-struct mpatch_flist *lalloc(ssize_t size)
+static struct mpatch_flist *lalloc(ssize_t size)
 {
 	struct mpatch_flist *a = NULL;