diff options
Diffstat (limited to 'apps/system/free')
-rw-r--r-- | apps/system/free/free.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/system/free/free.c b/apps/system/free/free.c index 3132be5ed..efaa8a227 100644 --- a/apps/system/free/free.c +++ b/apps/system/free/free.c @@ -97,7 +97,11 @@ static void free_getprogmeminfo(struct mallinfo * mem) * Public Functions ****************************************************************************/ +#ifdef CONFIG_BUILD_KERNEL +int main(int argc, FAR char **argv) +#else int free_main(int argc, char **argv) +#endif { struct mallinfo data; struct mallinfo prog; |