diff options
Diffstat (limited to 'apps/system/zmodem/rz_main.c')
-rw-r--r-- | apps/system/zmodem/rz_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/system/zmodem/rz_main.c b/apps/system/zmodem/rz_main.c index a7d475e2f..cd1f57ed8 100644 --- a/apps/system/zmodem/rz_main.c +++ b/apps/system/zmodem/rz_main.c @@ -70,7 +70,11 @@ static void show_usage(FAR const char *progname, int errcode) * Public Functions ****************************************************************************/ +#ifdef CONFIG_BUILD_KERNEL +int main(int argc, FAR char **argv) +#else int rz_main(int argc, FAR char **argv) +#endif { ZMRHANDLE handle; FAR const char *devname = CONFIG_SYSTEM_ZMODEM_DEVNAME; |