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:
Solomon Peachy 2024-04-06 21:23:38 -04:00
parent 76a9a524c0
commit 7b25c32388

View file

@ -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);
}