[PATCH 2 of 4] mpatch: change lalloc() to local function
Yuya Nishihara
yuya at tcha.org
Sun Aug 7 08:09:56 EDT 2016
# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1470530430 -32400
# Sun Aug 07 09:40:30 2016 +0900
# Node ID ab6faafa65302e34a080f41838012f241fd3c6e8
# Parent 8cf0accb1390495a49fcfbb967b59406e1f54019
mpatch: change lalloc() to local function
It was mistakenly made public at b9b9f9a92481.
diff --git a/mercurial/mpatch.c b/mercurial/mpatch.c
--- a/mercurial/mpatch.c
+++ b/mercurial/mpatch.c
@@ -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;
More information about the Mercurial-devel
mailing list