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

@@ -46,7 +46,7 @@ int ex2()
struct ranges *input;
struct ranges *list_cur;
if (!(pool = pool_init("pool", 10, sizeof (struct ranges))))
if (!(pool = pool_create("pool", 10, sizeof (struct ranges))))
return -1;
while (scanf("%d", &val) != EOF) {