diff options
Diffstat (limited to 'apps/examples/nxconsole')
-rw-r--r-- | apps/examples/nxconsole/nxcon_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/nxconsole/nxcon_main.c b/apps/examples/nxconsole/nxcon_main.c index 550ce4912..c176f9b3e 100644 --- a/apps/examples/nxconsole/nxcon_main.c +++ b/apps/examples/nxconsole/nxcon_main.c @@ -210,7 +210,11 @@ static int nxcon_task(int argc, char **argv) * Name: nxcon_main ****************************************************************************/ +#ifdef CONFIG_BUILD_KERNEL +int main(int argc, FAR char **argv) +#else int nxcon_main(int argc, char **argv) +#endif { nxgl_mxpixel_t color; int fd; |