mirror of
https://github.com/thepigeongenerator/tetris_clone.git
synced 2025-12-17 22:15:45 +01:00
use "const" where able to + random readability changes
This commit is contained in:
@@ -21,5 +21,5 @@ enum {
|
||||
};
|
||||
|
||||
// call when a fatal error has occurred, the program will immediately terminate when called
|
||||
void error(const ErrorCode error_code, const char* format, ...);
|
||||
void warn(const char* format, ...);
|
||||
void error(ErrorCode error_code, char const* format, ...);
|
||||
void warn(char const* format, ...);
|
||||
|
||||
Reference in New Issue
Block a user