Use namespace visibility macros instead of checking for _POSIX_SOURCE.

This commit is contained in:
David Schultz 2009-03-14 19:06:07 +00:00
parent 6fb888fc07
commit 472f7812a2

View File

@ -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 */