From 47bea0e67e4093d4482e8781782b98abda134801 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 6 Sep 2014 09:19:15 -0600 Subject: With kernel build, entry point to all tasks is main, not some xyz_main --- apps/system/sysinfo/sysinfo.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/system/sysinfo/sysinfo.c') 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 -- cgit v1.2.3