mercurial/mpatch.c
changeset 29741 9a1685c70db4
parent 29740 21ac534d7d30
child 29749 155f0cc3f813
equal deleted inserted replaced
29740:21ac534d7d30 29741:9a1685c70db4
    28 #include "mpatch.h"
    28 #include "mpatch.h"
    29 
    29 
    30 char *mpatch_errors[] = {NULL, "invalid patch", "patch cannot be decoded",
    30 char *mpatch_errors[] = {NULL, "invalid patch", "patch cannot be decoded",
    31 						"no memory"};
    31 						"no memory"};
    32 
    32 
    33 struct mpatch_flist *lalloc(ssize_t size)
    33 static struct mpatch_flist *lalloc(ssize_t size)
    34 {
    34 {
    35 	struct mpatch_flist *a = NULL;
    35 	struct mpatch_flist *a = NULL;
    36 
    36 
    37 	if (size < 1)
    37 	if (size < 1)
    38 		size = 1;
    38 		size = 1;