equal
deleted
inserted
replaced
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; |