With kernel build, entry point to all tasks is main, not some xyz_main

This commit is contained in:
Gregory Nutt
2014-09-06 09:19:15 -06:00
parent 38ecd36a61
commit 9f7c9b273f
94 changed files with 392 additions and 0 deletions

View File

@@ -116,7 +116,11 @@ const struct symtab_s CONFIG_EXECFUNCS_SYMTAB[1];
* Name: nsh_main
****************************************************************************/
#ifdef CONFIG_BUILD_KERNEL
int main(int argc, FAR char **argv)
#else
int nsh_main(int argc, char *argv[])
#endif
{
int exitval = 0;
int ret;