diff options
Diffstat (limited to 'apps/examples/nxflat')
-rw-r--r-- | apps/examples/nxflat/nxflat_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/nxflat/nxflat_main.c b/apps/examples/nxflat/nxflat_main.c index b47b76771..4fce16585 100644 --- a/apps/examples/nxflat/nxflat_main.c +++ b/apps/examples/nxflat/nxflat_main.c @@ -154,7 +154,11 @@ static inline void testheader(FAR const char *progname) * Name: nxflat_main ****************************************************************************/ +#ifdef CONFIG_BUILD_KERNEL +int main(int argc, FAR char **argv) +#else int nxflat_main(int argc, char *argv[]) +#endif { struct binary_s bin; int ret; |