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