mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
lcd: Do not alias lcd_write_yuv420_lines_odither() to lcd_write_yuv420_lines()
Causes a warning with GCC8 as the protoypes are not the same. Only affects targets that lack an asm-optimized version (eg mips) Change-Id: I22e4657f3fb71ebbb915e4f290bf3670b1b87636
This commit is contained in:
parent
76a9a524c0
commit
7b25c32388
1 changed files with 7 additions and 5 deletions
|
|
@ -25,10 +25,10 @@ static inline int clamp(int val, int min, int max)
|
|||
return val;
|
||||
}
|
||||
|
||||
extern void lcd_write_yuv420_lines(fb_data *dst,
|
||||
unsigned char const * const src[3],
|
||||
int width,
|
||||
int stride)
|
||||
void lcd_write_yuv420_lines(fb_data *dst,
|
||||
unsigned char const * const src[3],
|
||||
int width,
|
||||
int stride)
|
||||
{
|
||||
/* Draw a partial YUV colour bitmap - similiar behavior to lcd_blit_yuv
|
||||
in the core */
|
||||
|
|
@ -176,4 +176,6 @@ void lcd_write_yuv420_lines_odither(fb_data *dst,
|
|||
unsigned char const * const src[3],
|
||||
int width, int stride,
|
||||
int x_screen, int y_screen)
|
||||
__attribute__((alias("lcd_write_yuv420_lines")));
|
||||
{
|
||||
return lcd_write_yuv420_lines(dst, src, width, stride);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue