From: Paul Eggert Date: Fri, 9 Sep 2022 04:46:19 +0000 (-0500) Subject: stdbool-tests: match stdbool X-Git-Tag: v1.0~2058 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=628cc554d10428db487989dab0f697935bcfbb96;p=gnulib.git stdbool-tests: match stdbool * tests/test-stdbool.c: Omit test for __bool_true_false_are_defined since AC_CHECK_HEADER_STDBOOL no longer checks for this obsolescent macro. --- diff --git a/ChangeLog b/ChangeLog index d7df9b16aa..99b476be6e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2022-09-08 Paul Eggert + stdbool-tests: match stdbool + * tests/test-stdbool.c: Omit test for + __bool_true_false_are_defined since AC_CHECK_HEADER_STDBOOL no + longer checks for this obsolescent macro. + mktime: back in sync with GNUlib * config/srclist.txt: glibc has synced mktime from Gnulib. diff --git a/tests/test-stdbool.c b/tests/test-stdbool.c index 27fd16d010..329f5d5378 100644 --- a/tests/test-stdbool.c +++ b/tests/test-stdbool.c @@ -57,7 +57,6 @@ struct s { bool s: 1; bool t; } s; char a[true == 1 ? 1 : -1]; char b[false == 0 ? 1 : -1]; -char c[__bool_true_false_are_defined == 1 ? 1 : -1]; #if WORKING_BOOL char d[(bool) 0.5 == true ? 1 : -1]; # ifdef ADDRESS_CHECK_OKAY /* Avoid gcc warning. */