diff options
Diffstat (limited to 'apps/examples/serloop')
-rw-r--r-- | apps/examples/serloop/serloop_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/serloop/serloop_main.c b/apps/examples/serloop/serloop_main.c index af171fef3..5c1a768af 100644 --- a/apps/examples/serloop/serloop_main.c +++ b/apps/examples/serloop/serloop_main.c @@ -59,7 +59,11 @@ * serloop_main ****************************************************************************/ +#ifdef CONFIG_BUILD_KERNEL +int main(int argc, FAR char **argv) +#else int serloop_main(int argc, char *argv[]) +#endif { #ifdef CONFIG_EXAMPLES_SERLOOP_BUFIO int ch; |