summaryrefslogtreecommitdiff
path: root/apps/examples/hello/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/hello/main.c')
-rw-r--r--apps/examples/hello/main.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/apps/examples/hello/main.c b/apps/examples/hello/main.c
index 7934dc34b..7e07cffd1 100644
--- a/apps/examples/hello/main.c
+++ b/apps/examples/hello/main.c
@@ -53,16 +53,10 @@
****************************************************************************/
/****************************************************************************
- * user_start/hello_main
+ * hello_main
****************************************************************************/
-#ifdef CONFIG_EXAMPLES_HELLO_BUILTIN
-# define MAIN_NAME hello_main
-#else
-# define MAIN_NAME user_start
-#endif
-
-int MAIN_NAME(int argc, char *argv[])
+int hello_main(int argc, char *argv[])
{
printf("Hello, World!!\n");
return 0;