]> code.ossystems Code Review - openembedded-core.git/commit
psplash: Turn psplash_fb_plot_pixel() into static inline
authorKhem Raj <raj.khem@gmail.com>
Sat, 22 Aug 2015 14:16:20 +0000 (07:16 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 30 Aug 2015 11:34:13 +0000 (12:34 +0100)
commit443f9efa457ab57be8f79bccec8250678d4065c5
tree3bc59945723f8a9fa4ceba1d4f323e2b42780582
parent49e5f3fca65133a83f124324011d7bee18fd3aa1
psplash: Turn psplash_fb_plot_pixel() into static inline

This function is not used anywhere except psplash-fb.c so make it static
inline function which is portable across compilers

Fixes issues like
psplash-fb.o: In function `psplash_fb_draw_rect':
|
/mnt/home/kraj/work/angstrom/sources/openembedded-core/build/tmp-glibc/work/i586-oe-linux/psplash/0.1+gitAUTOINC+14c8f7b705-r15/git/psplash-fb.c:363:
undefined reference to `psplash_fb_plot_pixel'

(From OE-Core rev: 2429932c2dc1f81bf04f4377911094e2c8a04a19)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/psplash/files/0001-psplash-fb-Convert-psplash_fb_plot_pixel-to-a-static.patch [new file with mode: 0644]
meta/recipes-core/psplash/psplash_git.bb