glibc/posix/bits
Zack Weinberg 10a33cf8b4 getopt: eliminate __need_getopt by splitting up getopt.h.
__need_getopt is misnamed; what it really means is "we want only the
getopt features specified in POSIX, not the GNU extensions".  Because
this code is shared with gnulib, it winds up being cleanest to split
getopt.h into *four* headers.  getopt_core.h and getopt_ext.h will
be shared with gnulib, getopt_posix.h will be just for glibc, and
each project will have its own copy of getopt.h.

	* posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
	New files, intended to be shared with gnulib.
	* posix/bits/getopt_posix.h:
	New file, not intended to be shared with gnulib.
	* posix/getopt.h: Now just includes features.h,
	bits/getopt_core.h, and bits/getopt_ext.h.  Will
	no longer be shared with gnulib.
	* include/bits/getopt_core.h, include/bits/getopt_ext.h
	* include/bits/getopt_posix.h: New wrappers.
	* posix/Makefile: Install new headers.
	* posix/unistd.h, libio/stdio.h:
	Include bits/getopt_posix.h instead of getopt.h.
2017-04-07 07:53:03 -04:00
..
getopt_core.h getopt: eliminate __need_getopt by splitting up getopt.h. 2017-04-07 07:53:03 -04:00
getopt_ext.h getopt: eliminate __need_getopt by splitting up getopt.h. 2017-04-07 07:53:03 -04:00
getopt_posix.h getopt: eliminate __need_getopt by splitting up getopt.h. 2017-04-07 07:53:03 -04:00
posix1_lim.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
posix2_lim.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
types.h Move bits/types.h into posix/bits. 2017-02-16 09:43:50 -05:00
unistd.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00