svn commit: r189813 - head/sys/sys
David Schultz
das at FreeBSD.org
Sat Mar 14 12:06:08 PDT 2009
Author: das
Date: Sat Mar 14 19:06:07 2009
New Revision: 189813
URL: http://svn.freebsd.org/changeset/base/189813
Log:
Use namespace visibility macros instead of checking for _POSIX_SOURCE.
Modified:
head/sys/sys/termios.h
Modified: head/sys/sys/termios.h
==============================================================================
--- head/sys/sys/termios.h Sat Mar 14 19:05:18 2009 (r189812)
+++ head/sys/sys/termios.h Sat Mar 14 19:06:07 2009 (r189813)
@@ -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 */
More information about the svn-src-head
mailing list