mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
fix(warning): error: a function declaration without a prototype is deprecated in all versions of C
Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
This commit is contained in:
parent
9a6a194680
commit
c81f654026
@ -275,7 +275,7 @@ static void c_array_image_create(bool rotate, bool recolor, int align, int compr
|
||||
}
|
||||
}
|
||||
|
||||
void test_image_formats()
|
||||
void test_image_formats(void)
|
||||
{
|
||||
for(unsigned align = 0; align <= 1; align++) {
|
||||
int stride = stride_align[align];
|
||||
|
@ -46,7 +46,7 @@ void test_tiny_ttf_rendering_test(void)
|
||||
#endif
|
||||
}
|
||||
|
||||
void test_tiny_ttf_kerning()
|
||||
void test_tiny_ttf_kerning(void)
|
||||
{
|
||||
#if LV_USE_TINY_TTF
|
||||
extern const uint8_t test_kern_one_otf[];
|
||||
|
Loading…
x
Reference in New Issue
Block a user