backout un-necessary main_t casts

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@829 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2008-08-17 19:02:40 +00:00
parent 7615eabcf9
commit 3d991a3d9f

View File

@ -878,9 +878,9 @@ int nsh_parse(FAR struct nsh_vtbl_s *vtbl, char *cmdline)
#ifndef CONFIG_CUSTOM_STACK
ret = task_create("nsh_execute", priority, CONFIG_EXAMPLES_NSH_STACKSIZE,
(main_t)nsh_execute, &argv[1]);
nsh_execute, &argv[1]);
#else
ret = task_create("nsh_execute", priority, (main_t)nsh_execute, &argv[1]);
ret = task_create("nsh_execute", priority, nsh_execute, &argv[1]);
#endif
if (ret < 0)
{