diff options
Diffstat (limited to 'apps/examples/pipe')
-rw-r--r-- | apps/examples/pipe/pipe_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/pipe/pipe_main.c b/apps/examples/pipe/pipe_main.c index 9ada9af5f..623265600 100644 --- a/apps/examples/pipe/pipe_main.c +++ b/apps/examples/pipe/pipe_main.c @@ -72,7 +72,11 @@ * Name: pipe_main ****************************************************************************/ +#ifdef CONFIG_BUILD_KERNEL +int main(int argc, FAR char **argv) +#else int pipe_main(int argc, char *argv[]) +#endif { int fd[2]; int ret; |