refactor(console input): added missing void to clear console function

This commit is contained in:
Mineplay 2025-10-17 17:38:56 -05:00
parent e72a78543e
commit b13018b7cd
2 changed files with 2 additions and 2 deletions

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);