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