glibc/sysvipc
Joseph Myers c941736c92 Remove _BSD_SOURCE and _SVID_SOURCE.
This is a minimal patch to remove _BSD_SOURCE and _SVID_SOURCE from
the documented user API, making them into aliases for _DEFAULT_SOURCE
with a #warning given, but keeping most of the features.h logic using
those macros and all the exising __USE_* conditionals, on the basis
that all the consequent cleanups will go in followup patches.

Tested x86_64.

	* include/features.h: Update comment documenting feature test
	macros.
	[_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
	_DEFAULT_SOURCE.
	* manual/creature.texi (_BSD_SOURCE): Remove documentation.
	(_SVID_SOURCE): Likewise.
	(_DEFAULT_SOURCE): Update description of default features.
	(Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
	with _GNU_SOURCE.
	* manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
	(S_ISVTX): Likewise.
	* manual/math.texi (Mathematical Constants): Likewise.
	* manual/signal.texi (Interrupted Primitives): Likewise.
	* manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
	* math/test-matherr.c (_SVID_SOURCE): Do not define.
	* sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
	Don't refer to _SVID_SOURCE in warning text.
2014-02-11 23:40:07 +00:00
..
sys Remove _BSD_SOURCE and _SVID_SOURCE. 2014-02-11 23:40:07 +00:00
ftok.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Makefile Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
msgctl.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
msgget.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
msgrcv.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
msgsnd.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
semctl.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
semget.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
semop.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
semtimedop.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
shmat.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
shmctl.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
shmdt.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
shmget.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Versions Update. 2003-04-02 23:49:47 +00:00