[PATCH] Use __BSD_VISIBLE for Termios headers

Konstantin Belousov kostikbel at gmail.com
Wed May 24 09:25:37 UTC 2017


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.


More information about the freebsd-hackers mailing list