diff options
Diffstat (limited to 'apps/examples/nxffs')
-rw-r--r-- | apps/examples/nxffs/nxffs_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/nxffs/nxffs_main.c b/apps/examples/nxffs/nxffs_main.c index 443ef52fe..54eb6c82f 100644 --- a/apps/examples/nxffs/nxffs_main.c +++ b/apps/examples/nxffs/nxffs_main.c @@ -789,7 +789,11 @@ static int nxffs_directory(void) * Name: nxffs_main ****************************************************************************/ +#ifdef CONFIG_BUILD_KERNEL +int main(int argc, FAR char **argv) +#else int nxffs_main(int argc, char *argv[]) +#endif { FAR struct mtd_dev_s *mtd; unsigned int i; |