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

@@ -174,7 +174,7 @@ static u64 part2()
data = read_file();
if (!(pool = pool_init("stack", 128, sizeof (struct stack))))
if (!(pool = pool_create("stack", 128, sizeof (struct stack))))
return -1;
for (l = 0; l < data->nlines; ++l) {
for (c = 0; c < data->length; ++c) {