i2-console-input #9

Merged
Mineplay merged 5 commits from i2-console-input into main 2025-10-17 17:43:08 -05:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit b13018b7cd - Show all commits

View file

@ -25,7 +25,7 @@
#include "../Utils/Error.h"
IonyError iony_console_print(const char *text, long length);
IonyError iony_console_clear();
IonyError iony_console_clear(void);
IonyError iony_console_get_character(char *character);
IonyError iony_console_get_line(char *character_string, long max_length, long *characters_read);

View file

@ -57,7 +57,7 @@ IonyError iony_console_print(const char *text, const long length) {
return IONY_ERROR_NONE;
}
IonyError iony_console_clear() {
IonyError iony_console_clear(void) {
#if defined(_WIN32)
if (iony_standard_console_out == 0) {
iony_standard_console_out = GetStdHandle(STD_OUTPUT_HANDLE);