refactor(console input): added missing void to clear console function
This commit is contained in:
parent
e72a78543e
commit
b13018b7cd
2 changed files with 2 additions and 2 deletions
|
|
@ -25,7 +25,7 @@
|
||||||
#include "../Utils/Error.h"
|
#include "../Utils/Error.h"
|
||||||
|
|
||||||
IonyError iony_console_print(const char *text, long length);
|
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_character(char *character);
|
||||||
IonyError iony_console_get_line(char *character_string, long max_length, long *characters_read);
|
IonyError iony_console_get_line(char *character_string, long max_length, long *characters_read);
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ IonyError iony_console_print(const char *text, const long length) {
|
||||||
return IONY_ERROR_NONE;
|
return IONY_ERROR_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
IonyError iony_console_clear() {
|
IonyError iony_console_clear(void) {
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
if (iony_standard_console_out == 0) {
|
if (iony_standard_console_out == 0) {
|
||||||
iony_standard_console_out = GetStdHandle(STD_OUTPUT_HANDLE);
|
iony_standard_console_out = GetStdHandle(STD_OUTPUT_HANDLE);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue