refactor pool_init -> pool_create

This commit is contained in:
2021-12-20 14:44:15 +01:00
parent 93ef9438b8
commit 118d7f8452
9 changed files with 49 additions and 18 deletions

View File

@@ -202,7 +202,7 @@ int main(int ac, char **av)
if (optind < ac)
return usage(*av);
if (!(links_pool = pool_init("links", 128, sizeof (struct link))))
if (!(links_pool = pool_create("links", 128, sizeof (struct link))))
return -1;
printf("%s : res=%d\n", *av, doit(part));