Style: Fixup instances of void arguments

The style we have here is that functions with no arguments are to have
explicit `void` arguments, even though this doesn't apply in C++,
because it does apply in C.

Unfortunately, some have slipped through the cracks. This commit fixes
them.
This commit is contained in:
Misa
2023-03-18 15:24:14 -07:00
parent 63bc71b796
commit 9a87d23719
11 changed files with 32 additions and 32 deletions

View File

@@ -548,7 +548,7 @@ int Graphics::clear(const int r, const int g, const int b, const int a)
return result;
}
int Graphics::clear()
int Graphics::clear(void)
{
return clear(0, 0, 0, 255);
}
@@ -3099,7 +3099,7 @@ void Graphics::textboxpadtowidth(size_t new_w)
textboxes[m].padtowidth(new_w);
}
void Graphics::textboxcentertext()
void Graphics::textboxcentertext(void)
{
if (!INBOUNDS_VEC(m, textboxes))
{
@@ -3122,7 +3122,7 @@ void Graphics::textboxprintflags(const uint32_t flags)
textboxes[m].resize();
}
void Graphics::textboxcommsrelay()
void Graphics::textboxcommsrelay(void)
{
/* Special treatment for the gamestate textboxes in Comms Relay */
if (!INBOUNDS_VEC(m, textboxes))