]> git.ipfire.org Git - thirdparty/valgrind.git/commit
helgrind/tests/tc17_sembar.c: Remove bool typedef
authorMark Wielaard <mark@klomp.org>
Sat, 23 Nov 2024 21:37:14 +0000 (22:37 +0100)
committerMark Wielaard <mark@klomp.org>
Mon, 25 Nov 2024 21:29:33 +0000 (22:29 +0100)
commit459fa5b82df0d07cf871fc7359a060410052b82e
tree48186380133a3f433c79a47faea9f9bfa77796bd
parent3d72dd780be97bd19331403da60908f295712fc7
helgrind/tests/tc17_sembar.c: Remove bool typedef

Since C23 bool is a keyword. Also bool wasn't actually used.

tc17_sembar.c:45:14: error: both 'long' and '_Bool' in declaration specifiers
   45 | typedef long bool;
      |              ^~~~
tc17_sembar.c:45:1: warning: useless type name in empty declaration
   45 | typedef long bool;
      | ^~~~~~~

(cherry picked from commit 932bf2c027579c8d933b57ed80bb5842b390bdb3)
helgrind/tests/tc17_sembar.c