shithub: cstory

Download patch

ref: 57391868f9a481b793bae00defabd4b56550abf0
parent: 6c2ca988a8d874fcb2c85a28294312484025ac0b
author: Clownacy <Clownacy@users.noreply.github.com>
date: Fri Nov 15 13:32:52 EST 2019

Clean-up KeyControl.cpp

--- a/src/KeyControl.cpp
+++ b/src/KeyControl.cpp
@@ -18,7 +18,7 @@
 long gKeyRight = KEY_RIGHT;
 long gKeyDown = KEY_DOWN;
 
-void GetTrg()
+void GetTrg(void)
 {
 	static int key_old;
 	gKeyTrg = gKey ^ key_old;
--- a/src/KeyControl.h
+++ b/src/KeyControl.h
@@ -52,4 +52,4 @@
 extern long gKeyRight;
 extern long gKeyDown;
 
-void GetTrg();
+void GetTrg(void);