diff options
author | Pavel Tvrdik <pawel.tvrdik@gmail.com> | 2016-11-11 17:43:09 +0100 |
---|---|---|
committer | Pavel Tvrdik <pawel.tvrdik@gmail.com> | 2016-11-11 17:43:09 +0100 |
commit | 5e3cd0e5b56e6c58cfba4d0d38fbbbed3657889d (patch) | |
tree | 3e96b946c06176731b1d2ba27605dc257ef9c7bc /lib/lists_test.c | |
parent | fa71b268a8d15d579f50d7f4f92e2edb3b431e05 (diff) |
Birdtest: Replace BT_SUCCESS and BT_FAILURE with 1 and 0
Diffstat (limited to 'lib/lists_test.c')
-rw-r--r-- | lib/lists_test.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/lists_test.c b/lib/lists_test.c index 56cc8427..f26a88e2 100644 --- a/lib/lists_test.c +++ b/lib/lists_test.c @@ -111,7 +111,7 @@ t_add_tail(void) show_list(); bt_assert(is_filled_list_well_linked()); - return BT_SUCCESS; + return 1; } static int @@ -135,7 +135,7 @@ t_add_head(void) show_list(); bt_assert(is_filled_list_well_linked()); - return BT_SUCCESS; + return 1; } static void @@ -166,7 +166,7 @@ t_insert_node(void) bt_debug("\n"); bt_assert(is_filled_list_well_linked()); - return BT_SUCCESS; + return 1; } static void @@ -218,7 +218,7 @@ t_remove_node(void) rem_node(&nodes[i]); bt_assert(is_empty_list_well_unlinked()); - return BT_SUCCESS; + return 1; } static int @@ -247,7 +247,7 @@ t_replace_node(void) bt_assert(tail.next == NODE &l.null); bt_assert(nodes[MAX_NUM-2].next == &tail); - return BT_SUCCESS; + return 1; } static int @@ -268,7 +268,7 @@ t_add_tail_list(void) bt_assert(nodes2[0].prev == &nodes[MAX_NUM-1]); bt_assert(l.tail == &nodes2[MAX_NUM-1]); - return BT_SUCCESS; + return 1; } int |