#99: Can't compile storage_db.c in 2.1.7
--------------------+-------------------------------------------------------
Reporter: AlexSid | Owner: smoku
Type: defect | Status: new
Priority: major | Component: storage
Version: 2.1 | Blocking:
--------------------+-------------------------------------------------------
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..
--
Ticket URL: <http://jabberd2.xiaoka.com/ticket/99>
jabberd2 <http://jabberd2.xiaoka.com/>
jabberd2 project
_______________________________________________
jabberd2 mailing list
[email protected]
http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com