diff options
Diffstat (limited to 'meta-initramfs/recipes-bsp/kexecboot/files/0005-rgb.h-fix-build-with-gcc5.patch')
-rw-r--r-- | meta-initramfs/recipes-bsp/kexecboot/files/0005-rgb.h-fix-build-with-gcc5.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/meta-initramfs/recipes-bsp/kexecboot/files/0005-rgb.h-fix-build-with-gcc5.patch b/meta-initramfs/recipes-bsp/kexecboot/files/0005-rgb.h-fix-build-with-gcc5.patch deleted file mode 100644 index b54199b08c..0000000000 --- a/meta-initramfs/recipes-bsp/kexecboot/files/0005-rgb.h-fix-build-with-gcc5.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | From b2c4fc69868a4831ec798ad98f5e7fce200cf0e3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Andrea Adami <andrea.adami@gmail.com> | ||
3 | Date: Thu, 24 Sep 2015 00:02:48 +0200 | ||
4 | Subject: [PATCH] rgb.h: fix build with gcc 5 (C99 inline semantic) | ||
5 | |||
6 | Building with gcc 5.2 we trigger the following error: | ||
7 | |||
8 | rgb.h:55:1: warning: inline function 'rgba2comp' declared but never defined | ||
9 | | rgba2comp(kx_rgba rgba, kx_ccomp *red, kx_ccomp *green, | ||
10 | | ^ | ||
11 | |||
12 | https://gcc.gnu.org/gcc-5/porting_to.html | ||
13 | |||
14 | Signed-off-by: Andrea Adami <andrea.adami@gmail.com> | ||
15 | --- | ||
16 | rgb.h | 2 +- | ||
17 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
18 | |||
19 | diff --git a/rgb.h b/rgb.h | ||
20 | index 0ba987a..4f64622 100644 | ||
21 | --- a/rgb.h | ||
22 | +++ b/rgb.h | ||
23 | @@ -51,8 +51,7 @@ typedef struct { | ||
24 | } kx_named_color; | ||
25 | |||
26 | /* Convert RGBA uint32 to red/green/blue/alpha components */ | ||
27 | -inline void | ||
28 | -rgba2comp(kx_rgba rgba, kx_ccomp *red, kx_ccomp *green, | ||
29 | +void rgba2comp(kx_rgba rgba, kx_ccomp *red, kx_ccomp *green, | ||
30 | kx_ccomp *blue, kx_ccomp *alpha); | ||
31 | |||
32 | /* Convert hex rgb color to rgba color */ | ||
33 | -- | ||
34 | 1.9.1 | ||
35 | |||