shithub: cstory

Download patch

ref: b3843d596c6daf204aba5b806acfd224f969d445
parent: 3bc95d875dc748df3ef40ee719ee9946f10c638a
author: Clownacy <Clownacy@users.noreply.github.com>
date: Fri Nov 15 15:15:47 EST 2019

Clean-up Flags.cpp

--- a/src/Flags.cpp
+++ b/src/Flags.cpp
@@ -14,12 +14,12 @@
 unsigned char gSkipFlag[8];
 
 // Flag initializers
-void InitFlags()
+void InitFlags(void)
 {
 	memset(gFlagNPC, 0, sizeof(gFlagNPC));
 }
 
-void InitSkipFlags()
+void InitSkipFlags(void)
 {
 	memset(gSkipFlag, 0, sizeof(gSkipFlag));
 }
--- a/src/Flags.h
+++ b/src/Flags.h
@@ -5,8 +5,8 @@
 extern unsigned char gFlagNPC[1000];
 extern unsigned char gSkipFlag[8];
 
-void InitFlags();
-void InitSkipFlags();
+void InitFlags(void);
+void InitSkipFlags(void);
 void SetNPCFlag(long a);
 void CutNPCFlag(long a);
 BOOL GetNPCFlag(long a);