]> pd.if.org Git - nbds/blobdiff - txn/txn.c
improve memory allocator
[nbds] / txn / txn.c
index a932f66a3d9f79b05121a3da9f776c55397c4ea4..20d058394fa0b3afc57e7838613c67083feccb07 100644 (file)
--- a/txn/txn.c
+++ b/txn/txn.c
@@ -46,7 +46,7 @@ static version_t version_ = 1;
 
 static skiplist_t *active_ = NULL;
 
 
 static skiplist_t *active_ = NULL;
 
-__attribute__ ((constructor)) void txn_init (void) {
+__attribute__ ((constructor(103))) void txn_init (void) {
     active_ = sl_alloc(NULL);
 }
 
     active_ = sl_alloc(NULL);
 }