From 50f28ae59b389c8a2fbca70a53df81f087dd725b Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 21 Sep 2003 07:40:16 +0000 Subject: [PATCH] function is not a prototype - warnings removed --- src/common/gamecode/economy.c | 2 +- src/common/gamecode/laws.c | 2 +- src/eressea.sln | 10 ---------- 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/src/common/gamecode/economy.c b/src/common/gamecode/economy.c index ba2aa7eda..ff5633758 100644 --- a/src/common/gamecode/economy.c +++ b/src/common/gamecode/economy.c @@ -98,7 +98,7 @@ static int norders; static request *oa; static int -giverestriction() { +giverestriction(void) { static int value = -1; if (value<0) { value = atoi(get_param(global.parameters, "GiveRestriction")); diff --git a/src/common/gamecode/laws.c b/src/common/gamecode/laws.c index 28661b236..83000c4c1 100644 --- a/src/common/gamecode/laws.c +++ b/src/common/gamecode/laws.c @@ -101,7 +101,7 @@ boolean nobattle = false; /* ------------------------------------------------------------- */ static int -RemoveNMRNewbie() { +RemoveNMRNewbie(void) { static int value = -1; if (value<0) { value = atoi(get_param(global.parameters, "nmr.removenewbie")); diff --git a/src/eressea.sln b/src/eressea.sln index 31750e181..50d9167e1 100644 --- a/src/eressea.sln +++ b/src/eressea.sln @@ -60,12 +60,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "util", "common\util\util.vc ProjectSection(ProjectDependencies) = postProject EndProjectSection EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xmlsplitter", "D:\Documents\eressea\src\freeze\tools\xmlsplitter.vcproj", "{8031178A-081B-4BFA-AA98-46A2B03A3202}" - ProjectSection(ProjectDependencies) = postProject - {1D80D05F-BCF5-4971-8F06-D9581FD3B1F4} = {1D80D05F-BCF5-4971-8F06-D9581FD3B1F4} - {EDB0DE67-8215-4AF7-ACA1-F23CB11FF211} = {EDB0DE67-8215-4AF7-ACA1-F23CB11FF211} - EndProjectSection -EndProject Global GlobalSection(SolutionConfiguration) = preSolution Debug = Debug @@ -114,10 +108,6 @@ Global {1D80D05F-BCF5-4971-8F06-D9581FD3B1F4}.Debug.Build.0 = Debug|Win32 {1D80D05F-BCF5-4971-8F06-D9581FD3B1F4}.Release.ActiveCfg = Release|Win32 {1D80D05F-BCF5-4971-8F06-D9581FD3B1F4}.Release.Build.0 = Release|Win32 - {8031178A-081B-4BFA-AA98-46A2B03A3202}.Debug.ActiveCfg = Debug|Win32 - {8031178A-081B-4BFA-AA98-46A2B03A3202}.Debug.Build.0 = Debug|Win32 - {8031178A-081B-4BFA-AA98-46A2B03A3202}.Release.ActiveCfg = Release|Win32 - {8031178A-081B-4BFA-AA98-46A2B03A3202}.Release.Build.0 = Release|Win32 EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution EndGlobalSection