Mercurial > public > mercurial-scm > hg
diff mercurial/mpatch.c @ 29741: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 | 155f0cc3f813 |
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;