code cleanup:

- rename typedefs to a lowercase variant
- change variable names to shorter variants
This commit is contained in:
2025-02-10 12:28:05 +01:00
parent 94ca7e3d08
commit 3fd7806e5f
14 changed files with 121 additions and 119 deletions

View File

@@ -1,6 +1,6 @@
#pragma once
typedef unsigned char ErrorCode;
typedef unsigned char error_code;
enum {
ERROR_MISC = -1,
@@ -26,5 +26,5 @@ enum {
};
// call when a fatal error has occurred, the program will immediately terminate when called
void error(ErrorCode error_code, char const* format, ...);
void error(error_code error_code, char const* format, ...);
void warn(char const* format, ...);