mirror of
https://github.com/apache/nuttx.git
synced 2026-10-04 20:57:55 +00:00
sched/signal/sig_default.c: Fix warnings about implicit declaration of 'this_task' and 'group_killchildren'
This commit is contained in:
parent
4030fc5e1a
commit
19bde835e2
1 changed files with 3 additions and 1 deletions
|
|
@ -46,6 +46,8 @@
|
|||
#include <nuttx/sched.h>
|
||||
#include <nuttx/irq.h>
|
||||
|
||||
#include "group/group.h"
|
||||
#include "sched/sched.h"
|
||||
#include "signal/signal.h"
|
||||
|
||||
/****************************************************************************
|
||||
|
|
@ -154,7 +156,7 @@ static const struct nxsig_defaction_s g_defactions[] =
|
|||
static void nxsig_abnormal_termination(int signo)
|
||||
{
|
||||
#ifdef HAVE_GROUP_MEMBERS
|
||||
FAR struct tcb_s *tcb = (FAR struct tcb_s *)this_task();
|
||||
FAR struct task_tcb_s *tcb = (FAR struct task_tcb_s *)this_task();
|
||||
|
||||
/* Kill of of the children of the task */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue