diff options
Diffstat (limited to 'apps/system/sysinfo')
-rw-r--r-- | apps/system/sysinfo/sysinfo.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/system/sysinfo/sysinfo.c b/apps/system/sysinfo/sysinfo.c index 858567586..734c94233 100644 --- a/apps/system/sysinfo/sysinfo.c +++ b/apps/system/sysinfo/sysinfo.c @@ -55,7 +55,11 @@ * Public Functions ****************************************************************************/ +#ifdef CONFIG_BUILD_KERNEL +int main(int argc, FAR char **argv) +#else int sysinfo_main(int argc, char *argv[]) +#endif { printf("System Information:\n"); printf("\tNuttX Version:\t" CONFIG_VERSION_STRING |