]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use __BSD_VISIBLE test instead checking for absense of _POSIX_SOURCE.
authorKonstantin Belousov <kib@FreeBSD.org>
Wed, 24 May 2017 09:25:13 +0000 (09:25 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Wed, 24 May 2017 09:25:13 +0000 (09:25 +0000)
commita07c3aeb73123a9282d528ad8a1afba2f0b1a0dd
treee2c9059361a59e9ffd2e97aa6ff0ec84ceb6b3f5
parent27bdfd5a8a63488364453d873673630948bc5a41
Use __BSD_VISIBLE test instead checking for absense of _POSIX_SOURCE.

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>.

Submitted by: Sebastian Huber <sebastian.huber@embedded-brains.de>
MFC after: 2 weeks
include/termios.h
sys/sys/_termios.h