diff options
Diffstat (limited to 'apps/system/flash_eraseall')
-rw-r--r-- | apps/system/flash_eraseall/flash_eraseall.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/system/flash_eraseall/flash_eraseall.c b/apps/system/flash_eraseall/flash_eraseall.c index 824360c33..8e744f746 100644 --- a/apps/system/flash_eraseall/flash_eraseall.c +++ b/apps/system/flash_eraseall/flash_eraseall.c @@ -58,7 +58,11 @@ * Public Functions ****************************************************************************/ +#ifdef CONFIG_BUILD_KERNEL +int main(int argc, FAR char **argv) +#else int flash_eraseall_main(int argc, char *argv[]) +#endif { /* Argument given? */ |