Use namespace visibility macros instead of checking for _POSIX_SOURCE.
This commit is contained in:
parent
6fb888fc07
commit
472f7812a2
@ -273,10 +273,10 @@ int tcsendbreak(int, int);
|
||||
pid_t tcgetsid(int);
|
||||
#endif
|
||||
|
||||
#ifndef _POSIX_SOURCE
|
||||
#if __BSD_VISIBLE
|
||||
void cfmakeraw(struct termios *);
|
||||
int cfsetspeed(struct termios *, speed_t);
|
||||
#endif /* !_POSIX_SOURCE */
|
||||
#endif
|
||||
__END_DECLS
|
||||
|
||||
#endif /* !_KERNEL */
|
||||
|
Loading…
x
Reference in New Issue
Block a user