diff options
Diffstat (limited to 'apps/examples/cc3000/shell.c')
-rw-r--r-- | apps/examples/cc3000/shell.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/cc3000/shell.c b/apps/examples/cc3000/shell.c index 084302b7a..616c75154 100644 --- a/apps/examples/cc3000/shell.c +++ b/apps/examples/cc3000/shell.c @@ -200,7 +200,11 @@ static void shell_netinit(void) * Public Functions ****************************************************************************/ +#ifdef CONFIG_BUILD_KERNEL +int main(int argc, FAR char **argv) +#else int shell_main(int argc, char *argv[]) +#endif { struct telnetd_config_s config; int ret; |