diff options
Diffstat (limited to 'apps/system/prun/pexec_main.c')
-rw-r--r-- | apps/system/prun/pexec_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/system/prun/pexec_main.c b/apps/system/prun/pexec_main.c index 0b6b61939..74771f0c0 100644 --- a/apps/system/prun/pexec_main.c +++ b/apps/system/prun/pexec_main.c @@ -81,7 +81,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 pexec_main(int argc, FAR char **argv) +#endif { FAR char *filename = NULL; FAR char *endptr; |