summaryrefslogtreecommitdiff
path: root/apps/system/sdcard/sdcard.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/system/sdcard/sdcard.c')
-rw-r--r--apps/system/sdcard/sdcard.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/system/sdcard/sdcard.c b/apps/system/sdcard/sdcard.c
index fba01c3ae..708ca4676 100644
--- a/apps/system/sdcard/sdcard.c
+++ b/apps/system/sdcard/sdcard.c
@@ -104,7 +104,11 @@ static int sdcard_start(int slotno)
* Public Functions
****************************************************************************/
+#ifdef CONFIG_BUILD_KERNEL
+int main(int argc, FAR char **argv)
+#else
int sdcard_main(int argc, char *argv[])
+#endif
{
int slotno = 0;