Ticket #99 (closed defect: fixed)
Can't compile storage_db.c in 2.1.7
| Reported by: | AlexSid | Owned by: | smoku |
|---|---|---|---|
| Priority: | major | Component: | Build |
| Version: | 2.1.7 | Keywords: | |
| Cc: | Tracforge_linkmap: | ||
| Blocking: | Blocked By: |
Description
storage_db.c: In function '_st_db_get': storage_db.c:336: error: 'pool_cleaner' undeclared (first use in this function) storage_db.c:336: error: (Each undeclared identifier is reported only once storage_db.c:336: error: for each function it appears in.) storage_db.c:336: error: expected ')' before 'pool_free' storage_db.c:336: error: too few arguments to function 'pool_cleanup' storage_db.c: In function '_st_db_delete_guts': storage_db.c:396: error: 'pool_cleaner' undeclared (first use in this function) storage_db.c:396: error: expected ')' before 'pool_free' storage_db.c:396: error: too few arguments to function 'pool_cleanup' make[2]: *** [storage_db.lo] Error 1
I check changes from 2.1.6 in util/pool.c:
/** public cleanup utils, insert in a way that they are run FIFO, before mem frees */
-void pool_cleanup(pool p, pool_cleaner f, void *arg) +void pool_cleanup(pool_t p, pool_cleanup_t f, void *arg)
It can be necessary to make similar changes of arg's type in storage.c? (see attach) P/S: I'm not shure..