diff options
Diffstat (limited to 'test/bt-utils.c')
-rw-r--r-- | test/bt-utils.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/bt-utils.c b/test/bt-utils.c index 509b5ed4..3d56292e 100644 --- a/test/bt-utils.c +++ b/test/bt-utils.c @@ -53,6 +53,8 @@ cf_file_read(byte *dest, uint max_len, int fd) return l; } +void resource_sys_init(void); + void bt_bird_init(void) { @@ -60,8 +62,9 @@ bt_bird_init(void) log_init_debug(""); log_switch(bt_verbose != 0, NULL, NULL); + the_bird_lock(); olock_init(); - timer_init(); + birdloop_init(); rt_init(); io_init(); if_init(); @@ -73,6 +76,7 @@ bt_bird_init(void) void bt_bird_cleanup(void) { config = new_config = NULL; + the_bird_unlock(); } static char * |