diff --git a/src/KeyControl.cpp b/src/KeyControl.cpp index 1a0fd699..e01abcb6 100644 --- a/src/KeyControl.cpp +++ b/src/KeyControl.cpp @@ -18,7 +18,7 @@ long gKeyUp = KEY_UP; long gKeyRight = KEY_RIGHT; long gKeyDown = KEY_DOWN; -void GetTrg() +void GetTrg(void) { static int key_old; gKeyTrg = gKey ^ key_old; diff --git a/src/KeyControl.h b/src/KeyControl.h index 535989b7..9063c82b 100644 --- a/src/KeyControl.h +++ b/src/KeyControl.h @@ -52,4 +52,4 @@ extern long gKeyUp; extern long gKeyRight; extern long gKeyDown; -void GetTrg(); +void GetTrg(void);