diff options
Diffstat (limited to 'apps/examples/ftpc')
-rw-r--r-- | apps/examples/ftpc/ftpc_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/ftpc/ftpc_main.c b/apps/examples/ftpc/ftpc_main.c index a66895e22..4175c780e 100644 --- a/apps/examples/ftpc/ftpc_main.c +++ b/apps/examples/ftpc/ftpc_main.c @@ -355,7 +355,11 @@ int ftpc_parse(SESSION handle, char *cmdline) * Public Functions ****************************************************************************/ +#ifdef CONFIG_BUILD_KERNEL +int main(int argc, FAR char **argv) +#else int ftpc_main(int argc, char **argv, char **envp) +#endif { struct ftpc_connect_s connect = {{0}, 0}; SESSION handle; |