diff options
author | das <das@FreeBSD.org> | 2009-03-14 19:06:07 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2009-03-14 19:06:07 +0000 |
commit | e63fa4cfabc535a5f9ec7ea2b383692931c13465 (patch) | |
tree | 78dff740bd143d996873977350ce18ac3d4adaf2 | |
parent | f960eed87b76aa764e2e964c806dfa729c1f040f (diff) | |
download | FreeBSD-src-e63fa4cfabc535a5f9ec7ea2b383692931c13465.zip FreeBSD-src-e63fa4cfabc535a5f9ec7ea2b383692931c13465.tar.gz |
Use namespace visibility macros instead of checking for _POSIX_SOURCE.
-rw-r--r-- | sys/sys/termios.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/termios.h b/sys/sys/termios.h index bc071fb..192c3f2 100644 --- a/sys/sys/termios.h +++ b/sys/sys/termios.h @@ -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 */ |