psplash: Only define bool if using C standard older than C23
PATCH 1/2 psplash: Only define bool if using C standard older than C23
gcc-15 switched to -std=c23 by default:
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=55e3bd376b2214e200fa76d12b67ff259b06c212
only typedef int bool for __STDC_VERSION__ <= 201710L (C17)
Signed-off-by Khem Raj <[email protected]>
--- psplash.h | 3 +++ 1 file changed, 3 insertions(+)
psplash.h +3 -0
@@ -37,7 +37,10 @@typedef uint8_t uint8 ;typedef uint16_t uint16 ; + +#if defined __STDC__ && defined __STDC_VERSION__ && __STDC_VERSION__ <=201710L typedef int bool ; +#endif #ifndef FALSE #define FALSE 0
PATCH 2/2 README: Update mailing list to point to yocto-patches ml
Signed-off-by Khem Raj <[email protected]>
--- README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
README +2 -2
@@ -12,7 +12,7 @@ psplash such as boot progress information. Contributing ============ To contribute to this layer you should submit the patches for review to the -mailing list ([email protected]). +mailing list ([email protected]). Please refer to http://openembedded.org/wiki/Commit_Patch_Message_Guidelines
@@ -25,4 +25,4 @@ When creating patches, please use something like: git format-patch -M -s --subject-prefix='psplash][PATCH' origin When sending patches, please use something like: - git send-email --to [email protected] <generated patch> + git send-email --to [email protected] <generated patch>