summaryrefslogtreecommitdiff
path: root/apps/examples/mm/mm_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/mm/mm_main.c')
-rw-r--r--apps/examples/mm/mm_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/mm/mm_main.c b/apps/examples/mm/mm_main.c
index bf7e1f06d..2f51d519b 100644
--- a/apps/examples/mm/mm_main.c
+++ b/apps/examples/mm/mm_main.c
@@ -281,7 +281,11 @@ static void do_frees(void **mem, const int *size, const int *seq, int n)
* Name: mm_main
****************************************************************************/
+#ifdef CONFIG_BUILD_KERNEL
+int main(int argc, FAR char **argv)
+#else
int mm_main(int argc, char *argv[])
+#endif
{
mm_showmallinfo();