mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-20 04:26:04 +08:00
With kernel build, entry point to all tasks is main, not some xyz_main
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user