summaryrefslogtreecommitdiff
path: root/apps/examples/smart_test/smart_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/smart_test/smart_test.c')
-rw-r--r--apps/examples/smart_test/smart_test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/smart_test/smart_test.c b/apps/examples/smart_test/smart_test.c
index bffb04c2c..a375cc6c4 100644
--- a/apps/examples/smart_test/smart_test.c
+++ b/apps/examples/smart_test/smart_test.c
@@ -327,7 +327,11 @@ static int smart_seek_with_write_test(char *filename)
* Public Functions
****************************************************************************/
+#ifdef CONFIG_BUILD_KERNEL
+int main(int argc, FAR char **argv)
+#else
int smart_test_main(int argc, char *argv[])
+#endif
{
int ret;