Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 May 2017 12:25:30 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Sebastian Huber <sebastian.huber@embedded-brains.de>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: [PATCH] Use __BSD_VISIBLE for Termios headers
Message-ID:  <20170524092530.GH1622@kib.kiev.ua>
In-Reply-To: <20170524060758.25529-1-sebastian.huber@embedded-brains.de>
References:  <20170524060758.25529-1-sebastian.huber@embedded-brains.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 24, 2017 at 08:07:58AM +0200, Sebastian Huber wrote:
> The Termios headers <termios.h> and <sys/_termios.h> used sometimes
> _POSIX_SOURCE directly to determine if a thing should be exposed to the
> user.
> 
> This circumvented the feature mechanisms of <sys/cdefs.h>.  Use
> __BSD_VISIBLE instead.
> ---
>  include/termios.h  |  8 ++++----
>  sys/sys/_termios.h | 44 ++++++++++++++++++++++----------------------
>  2 files changed, 26 insertions(+), 26 deletions(-)

Committed as r318780, thank you.



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