Skip to content

Commit

Permalink
fix(warning): error: a function declaration without a prototype is de…
Browse files Browse the repository at this point in the history
…precated in all versions of C

Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
  • Loading branch information
XuNeo committed Mar 3, 2024
1 parent 9a6a194 commit c81f654
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/src/test_cases/draw/test_image_formats.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
2 changes: 1 addition & 1 deletion tests/src/test_cases/libs/test_tiny_ttf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
Expand Down

0 comments on commit c81f654

Please sign in to comment.