mirror of
https://github.com/apache/nuttx.git
synced 2026-10-08 06:45:19 +00:00
sched/signal: Fix compilation errors for MSVC.
This commit removed empty struct to fix compilation errors for the MSVC compiler. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com>
This commit is contained in:
parent
39576af753
commit
c0ae6525c4
3 changed files with 8 additions and 3 deletions
|
|
@ -72,8 +72,13 @@ static void timer_timeout(wdparm_t itimer);
|
|||
|
||||
static inline void timer_signotify(FAR struct posix_timer_s *timer)
|
||||
{
|
||||
#ifdef CONFIG_SIG_EVTHREAD
|
||||
DEBUGVERIFY(nxsig_notification(timer->pt_owner, &timer->pt_event,
|
||||
SI_TIMER, &timer->pt_work));
|
||||
#else
|
||||
DEBUGVERIFY(nxsig_notification(timer->pt_owner, &timer->pt_event,
|
||||
SI_TIMER, NULL));
|
||||
#endif
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue