commit | 005e62a2bc8d1d05a467ab377c957a1aa33528eb | [log] [tgz] |
---|---|---|
author | Balint Dobszay <balint.dobszay@arm.com> | Wed Nov 30 12:59:52 2022 +0100 |
committer | György Szing <gyorgy.szing@arm.com> | Tue Mar 21 12:00:03 2023 +0100 |
tree | 3a133dcec1b655cd98df74465eaa8a1b21aea887 | |
parent | 9ab30f60527dea10531ba1b34070dfc37e1bbb71 [diff] |
Fix typeof calls in util.h The typeof operator is not available when using GCC with "-std=c99". Fix this issue by making the changes suggested by the GCC documentation: "If you are writing a header file that must work when included in ISO C programs, write __typeof__ instead of typeof." Link: https://gcc.gnu.org/onlinedocs/gcc-11.3.0/gcc/Typeof.html Signed-off-by: Balint Dobszay <balint.dobszay@arm.com> Change-Id: Ia471e6da60fb1ef00bee9fa908e5767110b29e90