aboutsummaryrefslogtreecommitdiffstats
path: root/app/test/test_func_reentrancy.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test/test_func_reentrancy.c')
-rw-r--r--app/test/test_func_reentrancy.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/test/test_func_reentrancy.c b/app/test/test_func_reentrancy.c
index d6e9dd8f..baa01ffc 100644
--- a/app/test/test_func_reentrancy.c
+++ b/app/test/test_func_reentrancy.c
@@ -507,8 +507,4 @@ test_func_reentrancy(void)
return 0;
}
-static struct test_command func_reentrancy_cmd = {
- .command = "func_reentrancy_autotest",
- .callback = test_func_reentrancy,
-};
-REGISTER_TEST_COMMAND(func_reentrancy_cmd);
+REGISTER_TEST_COMMAND(func_reentrancy_autotest, test_func_reentrancy);