mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 04:59:59 +08:00
Fix pgsigio() warnings
This commit is contained in:
@@ -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_ */
|
||||
|
Reference in New Issue
Block a user