Stop duplicating pool initialization code

This commit is contained in:
Eric Fischer
2014-09-29 12:12:54 -07:00
parent 5ab7f89465
commit fabeb4588d
3 changed files with 14 additions and 29 deletions
+1
View File
@@ -39,6 +39,7 @@ struct pool_val *deserialize_string(char **f, struct pool *p, int type);
struct pool_val *pool(struct pool *p, char *s, int type);
struct pool_val *pool_long_long(struct pool *p, long long *val, int type);
void pool_free(struct pool *p);
void pool_init(struct pool *p, int n);
struct index {