summaryrefslogtreecommitdiff
path: root/lib/bitops_test.c
diff options
context:
space:
mode:
authorPavel Tvrdik <pawel.tvrdik@gmail.com>2016-11-11 17:43:09 +0100
committerPavel Tvrdik <pawel.tvrdik@gmail.com>2016-11-11 17:43:09 +0100
commit5e3cd0e5b56e6c58cfba4d0d38fbbbed3657889d (patch)
tree3e96b946c06176731b1d2ba27605dc257ef9c7bc /lib/bitops_test.c
parentfa71b268a8d15d579f50d7f4f92e2edb3b431e05 (diff)
Birdtest: Replace BT_SUCCESS and BT_FAILURE with 1 and 0
Diffstat (limited to 'lib/bitops_test.c')
-rw-r--r--lib/bitops_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/bitops_test.c b/lib/bitops_test.c
index bd02fccc..f816b9d1 100644
--- a/lib/bitops_test.c
+++ b/lib/bitops_test.c
@@ -28,7 +28,7 @@ t_mkmask(void)
bt_assert_msg(compute == expect, "u32_mkmask(%d) = 0x%08X, expected 0x%08X", i, compute, expect);
}
- return BT_SUCCESS;
+ return 1;
}
static int
@@ -78,7 +78,7 @@ t_masklen(void)
for (i = 0; i <= MAX_NUM; i++)
check_mask(bt_random());
- return BT_SUCCESS;
+ return 1;
}
static void
@@ -107,7 +107,7 @@ t_log2(void)
for (i = 1; i < MAX_NUM; i++)
check_log2(((u32) bt_random()) % 0x0fffffff);
- return BT_SUCCESS;
+ return 1;
}
int