summaryrefslogtreecommitdiff
path: root/apps/examples/pashello
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/pashello')
-rw-r--r--apps/examples/pashello/pashello.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/pashello/pashello.c b/apps/examples/pashello/pashello.c
index 731bd7e37..d6b45c03e 100644
--- a/apps/examples/pashello/pashello.c
+++ b/apps/examples/pashello/pashello.c
@@ -75,7 +75,11 @@
* pashello_main
****************************************************************************/
+#ifdef CONFIG_BUILD_KERNEL
+int main(int argc, FAR char **argv)
+#else
int pashello_main(int argc, FAR char *argv[])
+#endif
{
FAR struct pexec_s *st;
int exitcode = EXIT_SUCCESS;