summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
Diffstat (limited to 'osdep')
-rw-r--r--osdep/getch2-win.c2
-rw-r--r--osdep/getch2.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/osdep/getch2-win.c b/osdep/getch2-win.c
index a20f1331f0..002d39d4a6 100644
--- a/osdep/getch2-win.c
+++ b/osdep/getch2-win.c
@@ -157,7 +157,7 @@ static const struct {
{ 0, NULL }
};
-char* get_term_charset()
+char* get_term_charset(void)
{
static char codepage[10];
unsigned i, cpno = GetConsoleOutputCP();
diff --git a/osdep/getch2.c b/osdep/getch2.c
index a4226415f0..0d04de87b5 100644
--- a/osdep/getch2.c
+++ b/osdep/getch2.c
@@ -244,7 +244,7 @@ void getch2_disable(void){
}
#ifdef USE_ICONV
-char* get_term_charset()
+char* get_term_charset(void)
{
char* charset = NULL;
#ifdef USE_LANGINFO