1
0
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:
Neo Xu 2024-02-26 12:26:09 +08:00
parent 9a6a194680
commit c81f654026
2 changed files with 2 additions and 2 deletions

View File

@ -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];

View File

@ -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[];