Fix pgsigio() warnings

This commit is contained in:
Sebastian Huber
2019-09-24 14:02:40 +02:00
parent cff1625f27
commit e9730d5fc5
4 changed files with 14 additions and 52 deletions

View File

@@ -401,7 +401,21 @@ void trapsignal(struct thread *td, ksiginfo_t *ksi);
#endif /* _KERNEL */
#else /* __rtems__ */
#ifdef _KERNEL
typedef int ksiginfo_t;
struct sigio;
static __inline void
pgsigio(struct sigio **sigiop, int sig, int checkctty)
{
(void)sigiop;
(void)sig;
(void)checkctty;
BSD_ASSERT(0);
}
#endif /* _KERNEL */
#endif /* __rtems__ */
#endif /* !_SYS_SIGNALVAR_H_ */