mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-02 04:39:01 +00:00
Remove the unnecessary cast for main_t, NULL and argv
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
d6f787afca
commit
b659f0fbdf
100 changed files with 559 additions and 449 deletions
|
|
@ -431,8 +431,7 @@ int main(int argc, char **argv)
|
|||
|
||||
ret = task_create("Stack Monitor", CONFIG_SYSTEM_STACKMONITOR_PRIORITY,
|
||||
CONFIG_SYSTEM_STACKMONITOR_STACKSIZE,
|
||||
(main_t)stackmonitor_daemon,
|
||||
(FAR char * const *)NULL);
|
||||
stackmonitor_daemon, NULL);
|
||||
if (ret < 0)
|
||||
{
|
||||
int errcode = errno;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue