From 628cc554d10428db487989dab0f697935bcfbb96 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 8 Sep 2022 23:46:19 -0500 Subject: [PATCH] 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. --- ChangeLog | 5 +++++ tests/test-stdbool.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) 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. */ -- 2.39.5