function is not a prototype - warnings removed

This commit is contained in:
Enno Rehling 2003-09-21 07:40:16 +00:00
parent 8c26dc03eb
commit 50f28ae59b
3 changed files with 2 additions and 12 deletions

View File

@ -98,7 +98,7 @@ static int norders;
static request *oa; static request *oa;
static int static int
giverestriction() { giverestriction(void) {
static int value = -1; static int value = -1;
if (value<0) { if (value<0) {
value = atoi(get_param(global.parameters, "GiveRestriction")); value = atoi(get_param(global.parameters, "GiveRestriction"));

View File

@ -101,7 +101,7 @@ boolean nobattle = false;
/* ------------------------------------------------------------- */ /* ------------------------------------------------------------- */
static int static int
RemoveNMRNewbie() { RemoveNMRNewbie(void) {
static int value = -1; static int value = -1;
if (value<0) { if (value<0) {
value = atoi(get_param(global.parameters, "nmr.removenewbie")); value = atoi(get_param(global.parameters, "nmr.removenewbie"));

View File

@ -60,12 +60,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "util", "common\util\util.vc
ProjectSection(ProjectDependencies) = postProject ProjectSection(ProjectDependencies) = postProject
EndProjectSection EndProjectSection
EndProject 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 Global
GlobalSection(SolutionConfiguration) = preSolution GlobalSection(SolutionConfiguration) = preSolution
Debug = Debug Debug = Debug
@ -114,10 +108,6 @@ Global
{1D80D05F-BCF5-4971-8F06-D9581FD3B1F4}.Debug.Build.0 = Debug|Win32 {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.ActiveCfg = Release|Win32
{1D80D05F-BCF5-4971-8F06-D9581FD3B1F4}.Release.Build.0 = 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 EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution GlobalSection(ExtensibilityGlobals) = postSolution
EndGlobalSection EndGlobalSection