diff options
author | tron <tron@openttd.org> | 2005-01-22 20:23:18 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-22 20:23:18 +0000 |
commit | 94d5aeabb217cb08acf1225342c28bb0ac44f676 (patch) | |
tree | f77535f8809840126757131b192e611f6d912bdf /graph_gui.c | |
parent | 14451419c6c6b82ddb2204b43595fcf9acee91dc (diff) | |
download | openttd-94d5aeabb217cb08acf1225342c28bb0ac44f676.tar.xz |
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
Diffstat (limited to 'graph_gui.c')
-rw-r--r-- | graph_gui.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/graph_gui.c b/graph_gui.c index 463d23598..7c82ad708 100644 --- a/graph_gui.c +++ b/graph_gui.c @@ -272,7 +272,7 @@ static const WindowDesc _graph_legend_desc = { GraphLegendWndProc }; -static void ShowGraphLegend() +static void ShowGraphLegend(void) { AllocateWindowDescFront(&_graph_legend_desc, 0); } @@ -374,7 +374,7 @@ static const WindowDesc _operating_profit_desc = { }; -void ShowOperatingProfitGraph() +void ShowOperatingProfitGraph(void) { if (AllocateWindowDescFront(&_operating_profit_desc, 0)) { InvalidateWindow(WC_GRAPH_LEGEND, 0); @@ -448,7 +448,7 @@ static const WindowDesc _income_graph_desc = { IncomeGraphWndProc }; -void ShowIncomeGraph() +void ShowIncomeGraph(void) { if (AllocateWindowDescFront(&_income_graph_desc, 0)) { InvalidateWindow(WC_GRAPH_LEGEND, 0); @@ -521,7 +521,7 @@ static const WindowDesc _delivered_cargo_graph_desc = { DeliveredCargoGraphWndProc }; -void ShowDeliveredCargoGraph() +void ShowDeliveredCargoGraph(void) { if (AllocateWindowDescFront(&_delivered_cargo_graph_desc, 0)) { InvalidateWindow(WC_GRAPH_LEGEND, 0); @@ -597,7 +597,7 @@ static const WindowDesc _performance_history_desc = { PerformanceHistoryWndProc }; -void ShowPerformanceHistoryGraph() +void ShowPerformanceHistoryGraph(void) { if (AllocateWindowDescFront(&_performance_history_desc, 0)) { InvalidateWindow(WC_GRAPH_LEGEND, 0); @@ -670,7 +670,7 @@ static const WindowDesc _company_value_graph_desc = { CompanyValueGraphWndProc }; -void ShowCompanyValueGraph() +void ShowCompanyValueGraph(void) { if (AllocateWindowDescFront(&_company_value_graph_desc, 0)) { InvalidateWindow(WC_GRAPH_LEGEND, 0); @@ -774,7 +774,7 @@ static const WindowDesc _cargo_payment_rates_desc = { }; -void ShowCargoPaymentRates() +void ShowCargoPaymentRates(void) { AllocateWindowDescFront(&_cargo_payment_rates_desc, 0); } @@ -874,7 +874,7 @@ static const WindowDesc _company_league_desc = { CompanyLeagueWndProc }; -void ShowCompanyLeagueTable() +void ShowCompanyLeagueTable(void) { AllocateWindowDescFront(&_company_league_desc,0); } @@ -1094,7 +1094,7 @@ static const WindowDesc _performance_rating_detail_desc = { PerformanceRatingDetailWndProc }; -void ShowPerformanceRatingDetail() +void ShowPerformanceRatingDetail(void) { AllocateWindowDescFront(&_performance_rating_detail_desc, 0); } |