mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
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:
@@ -175,13 +175,13 @@ public:
|
||||
|
||||
void setstate(int gamestate);
|
||||
|
||||
void incstate();
|
||||
void incstate(void);
|
||||
|
||||
void setstatedelay(int delay);
|
||||
|
||||
void lockstate();
|
||||
void lockstate(void);
|
||||
|
||||
void unlockstate();
|
||||
void unlockstate(void);
|
||||
|
||||
void updatestate(void);
|
||||
|
||||
@@ -265,7 +265,7 @@ public:
|
||||
bool hascontrol, jumpheld;
|
||||
int jumppressed;
|
||||
int gravitycontrol;
|
||||
bool isingamecompletescreen();
|
||||
bool isingamecompletescreen(void);
|
||||
|
||||
bool muted;
|
||||
int mutebutton;
|
||||
|
||||
Reference in New Issue
Block a user