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

@@ -194,7 +194,7 @@ int main(int ac, char **av)
if (optind < ac)
return usage(*av);
if (!(pool = pool_init("stack", 1024, sizeof (pqueue_t))))
if (!(pool = pool_create("stack", 1024, sizeof (pqueue_t))))
return -1;
read_input();