Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Mar 2009 19:06:07 +0000 (UTC)
From:      David Schultz <das@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r189813 - head/sys/sys
Message-ID:  <200903141906.n2EJ67p2005119@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903141906.n2EJ67p2005119>