changeset 29753:9a1685c70db4

mpatch: change lalloc() to local function It was mistakenly made public at b9b9f9a92481.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 07 Aug 2016 09:40:30 +0900
parents 21ac534d7d30
children b410e26692a4
files mercurial/mpatch.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;