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 */
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to