glibc/time
Zack Weinberg e15f7de60c Split DIAG_* macros to new header libc-diag.h.
Quite a few tests include libc-internal.h just for the DIAG_* macros.
Split those macros to their own file, which can be included safely in
_ISOMAC mode.  I also moved ignore_value, since it seems logically
related, even though I didn't notice any tests needing it.

Also add -Wnonnull suppressions to two tests that _should_ have them,
but the error is masked when compiling against internal headers.

	* include/libc-diag.h: New file.  Define ignore_value,
	DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
	DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.

	* include/libc-internal.h: Definitions of above macros moved from
	here.  Include libc-diag.h.  Add copyright notice.

	* malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
	* misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
	* stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
	* stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
	* stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
	* stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
	* stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
	* time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
	Include libc-diag.h instead of libc-internal.h.

	* stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
	call to unsetenv (NULL).
	* nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
	call to pthread_mutexattr_destroy (NULL).
2017-02-25 09:59:46 -05:00
..
bits/types Installed-header hygiene (BZ#20366): time.h types. 2016-09-23 08:43:56 -04:00
sys Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
adjtime.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
alt_digit.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
asctime.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
bug-asctime_r.c
bug-asctime.c
bug-getdate1.c support: Introduce new subdirectory for test infrastructure 2016-12-09 08:18:27 +01:00
bug-mktime1.c
clock.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
clocktest.c Add missing header files throughout the testsuite. 2017-02-16 17:33:18 -05:00
ctime_r.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
ctime.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
datemsk
Depend
difftime.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
dysize.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
era.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
ftime.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getdate.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getitimer.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
gettimeofday.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
gmtime.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
lc-time-cleanup.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
localtime.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
Makefile Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
mktime.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
offtime.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
setitimer.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
settimeofday.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
stime.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strftime_l.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strftime.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strptime_l.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
strptime.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
test_time.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
time.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
time.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
timegm.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
timespec_get.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tst_wcsftime.c
tst-ftime_l.c Modify several tests to use test-skeleton.c 2014-11-05 15:24:08 +05:30
tst-ftime.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tst-getdate.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tst-mktime2.c Use TIME_T_MAX and TIME_T_MIN in tst-mktime2.c 2016-01-14 16:35:40 -08:00
tst-mktime3.c Modify several tests to use test-skeleton.c 2014-11-05 15:24:08 +05:30
tst-mktime.c Modify several tests to use test-skeleton.c 2014-11-05 15:24:08 +05:30
tst-posixtz.c Add missing header files throughout the testsuite. 2017-02-16 17:33:18 -05:00
tst-strftime.c Fix BZ #18985 -- out of range data to strftime() causes a segfault 2015-09-26 13:27:48 -07:00
tst-strptime2.c Split DIAG_* macros to new header libc-diag.h. 2017-02-25 09:59:46 -05:00
tst-strptime3.c time: ensure failing strptime() tests are reported correctly 2015-03-06 06:06:26 -05:00
tst-strptime-whitespace.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tst-strptime.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tst-tzname.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tzfile.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tzset.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
Versions
wcsftime_l.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wcsftime.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00