mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-10 16:40:03 +00:00
kexecboot: sync fix for gcc5 with upstream
Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
7183bacd5c
commit
e0171b34bd
@@ -20,15 +20,16 @@ diff --git a/rgb.h b/rgb.h
|
|||||||
index 0ba987a..4f64622 100644
|
index 0ba987a..4f64622 100644
|
||||||
--- a/rgb.h
|
--- a/rgb.h
|
||||||
+++ b/rgb.h
|
+++ b/rgb.h
|
||||||
@@ -51,7 +51,7 @@ typedef struct {
|
@@ -51,8 +51,7 @@ typedef struct {
|
||||||
} kx_named_color;
|
} kx_named_color;
|
||||||
|
|
||||||
/* Convert RGBA uint32 to red/green/blue/alpha components */
|
/* Convert RGBA uint32 to red/green/blue/alpha components */
|
||||||
-inline void
|
-inline void
|
||||||
+extern inline void
|
-rgba2comp(kx_rgba rgba, kx_ccomp *red, kx_ccomp *green,
|
||||||
rgba2comp(kx_rgba rgba, kx_ccomp *red, kx_ccomp *green,
|
+void rgba2comp(kx_rgba rgba, kx_ccomp *red, kx_ccomp *green,
|
||||||
kx_ccomp *blue, kx_ccomp *alpha);
|
kx_ccomp *blue, kx_ccomp *alpha);
|
||||||
|
|
||||||
|
/* Convert hex rgb color to rgba color */
|
||||||
--
|
--
|
||||||
1.9.1
|
1.9.1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user