From 57391868f9a481b793bae00defabd4b56550abf0 Mon Sep 17 00:00:00 2001 From: Clownacy Date: Fri, 15 Nov 2019 18:32:52 +0000 Subject: [PATCH] Clean-up KeyControl.cpp --- src/KeyControl.cpp | 2 +- src/KeyControl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);