diff options
Diffstat (limited to 'apps/examples/nximage')
-rw-r--r-- | apps/examples/nximage/nximage_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/nximage/nximage_main.c b/apps/examples/nximage/nximage_main.c index a32ea2a89..2c8591a61 100644 --- a/apps/examples/nximage/nximage_main.c +++ b/apps/examples/nximage/nximage_main.c @@ -214,7 +214,11 @@ static inline int nximage_initialize(void) * ****************************************************************************/ +#ifdef CONFIG_BUILD_KERNEL +int main(int argc, FAR char **argv) +#else int nximage_main(int argc, char *argv[]) +#endif { nxgl_mxpixel_t color; int ret; |