Skip to content

Commit

Permalink
Common: Fixed the C warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Wohlstand committed Jan 19, 2025
1 parent 262784f commit 1148f4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _common/Graphics/bitmask2rgba.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ void bitmask_set_bitblit_bg(uint8_t red, uint8_t green, uint8_t blue)
s_bitblitBG.rgbBlue = blue;
}

void bitmask_reset_bitblit_bg()
void bitmask_reset_bitblit_bg(void)
{
s_bitblitBG.rgbRed = 0;
s_bitblitBG.rgbGreen = 0;
Expand Down
2 changes: 1 addition & 1 deletion _common/Graphics/bitmask2rgba.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ extern void bitmask_set_bitblit_bg(uint8_t red, uint8_t green, uint8_t blue);
/**
* @brief Restore the default pseudo-background colour
*/
extern void bitmask_reset_bitblit_bg();
extern void bitmask_reset_bitblit_bg(void);

#ifdef __cplusplus
}
Expand Down

0 comments on commit 1148f4a

Please sign in to comment.