summaryrefslogtreecommitdiff
path: root/industry_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-22 20:23:18 +0000
committertron <tron@openttd.org>2005-01-22 20:23:18 +0000
commit189ca7370762dca088a13d08ccb035e364758abb (patch)
treef77535f8809840126757131b192e611f6d912bdf /industry_gui.c
parent7984a9a5007f4bdf1107cdf646c42e3e137f65cf (diff)
downloadopenttd-189ca7370762dca088a13d08ccb035e364758abb.tar.xz
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
Diffstat (limited to 'industry_gui.c')
-rw-r--r--industry_gui.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/industry_gui.c b/industry_gui.c
index 71bcec5bb..a9af53543 100644
--- a/industry_gui.c
+++ b/industry_gui.c
@@ -264,7 +264,7 @@ static const WindowDesc * const _industry_window_desc[2][4] = {
},
};
-void ShowBuildIndustryWindow()
+void ShowBuildIndustryWindow(void)
{
AllocateWindowDescFront(_industry_window_desc[_patches.build_rawmaterial_ind][_opt.landscape],0);
}
@@ -555,7 +555,7 @@ static int CDECL GeneralIndustrySorter(const void *a, const void *b)
return r;
}
-static void MakeSortedIndustryList()
+static void MakeSortedIndustryList(void)
{
Industry *i;
int n = 0;
@@ -691,7 +691,7 @@ static const WindowDesc _industry_directory_desc = {
-void ShowIndustryDirectory()
+void ShowIndustryDirectory(void)
{
/* Industry List */
Window *w;