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

@@ -84,7 +84,7 @@ static struct list_head *read_boards()
struct board *cur_board = &dummy;
int row = 0;
if (!(pool = pool_init("boards", 128, sizeof (struct board))))
if (!(pool = pool_create("boards", 128, sizeof (struct board))))
return NULL;
while ((len = getline(&buf, &alloc, stdin)) >= 0) {