diff options
author | rubidium <rubidium@openttd.org> | 2007-03-07 11:47:46 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-03-07 11:47:46 +0000 |
commit | 36bb92ae241403d61dc7a3e5a1696b615be61395 (patch) | |
tree | 5676d0d54be47c40d975fdeb1026317fc2a010db /src/graph_gui.cpp | |
parent | a69e3b1c45f12ee6f21a4ac1c8a8f8bc0892f226 (diff) | |
download | openttd-36bb92ae241403d61dc7a3e5a1696b615be61395.tar.xz |
(svn r9050) -Codechange: Foo(void) -> Foo()
Diffstat (limited to 'src/graph_gui.cpp')
-rw-r--r-- | src/graph_gui.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/graph_gui.cpp b/src/graph_gui.cpp index abd148cd8..585be3688 100644 --- a/src/graph_gui.cpp +++ b/src/graph_gui.cpp @@ -316,7 +316,7 @@ static const WindowDesc _graph_legend_desc = { GraphLegendWndProc }; -static void ShowGraphLegend(void) +static void ShowGraphLegend() { AllocateWindowDescFront(&_graph_legend_desc, 0); } @@ -415,7 +415,7 @@ static const WindowDesc _operating_profit_desc = { }; -void ShowOperatingProfitGraph(void) +void ShowOperatingProfitGraph() { if (AllocateWindowDescFront(&_operating_profit_desc, 0)) { InvalidateWindow(WC_GRAPH_LEGEND, 0); @@ -483,7 +483,7 @@ static const WindowDesc _income_graph_desc = { IncomeGraphWndProc }; -void ShowIncomeGraph(void) +void ShowIncomeGraph() { if (AllocateWindowDescFront(&_income_graph_desc, 0)) { InvalidateWindow(WC_GRAPH_LEGEND, 0); @@ -550,7 +550,7 @@ static const WindowDesc _delivered_cargo_graph_desc = { DeliveredCargoGraphWndProc }; -void ShowDeliveredCargoGraph(void) +void ShowDeliveredCargoGraph() { if (AllocateWindowDescFront(&_delivered_cargo_graph_desc, 0)) { InvalidateWindow(WC_GRAPH_LEGEND, 0); @@ -619,7 +619,7 @@ static const WindowDesc _performance_history_desc = { PerformanceHistoryWndProc }; -void ShowPerformanceHistoryGraph(void) +void ShowPerformanceHistoryGraph() { if (AllocateWindowDescFront(&_performance_history_desc, 0)) { InvalidateWindow(WC_GRAPH_LEGEND, 0); @@ -686,7 +686,7 @@ static const WindowDesc _company_value_graph_desc = { CompanyValueGraphWndProc }; -void ShowCompanyValueGraph(void) +void ShowCompanyValueGraph() { if (AllocateWindowDescFront(&_company_value_graph_desc, 0)) { InvalidateWindow(WC_GRAPH_LEGEND, 0); @@ -784,7 +784,7 @@ static const WindowDesc _cargo_payment_rates_desc = { }; -void ShowCargoPaymentRates(void) +void ShowCargoPaymentRates() { Window *w = AllocateWindowDescFront(&_cargo_payment_rates_desc, 0); if (w == NULL) return; @@ -905,7 +905,7 @@ static const WindowDesc _company_league_desc = { CompanyLeagueWndProc }; -void ShowCompanyLeagueTable(void) +void ShowCompanyLeagueTable() { AllocateWindowDescFront(&_company_league_desc,0); } @@ -1144,7 +1144,7 @@ static const WindowDesc _performance_rating_detail_desc = { PerformanceRatingDetailWndProc }; -void ShowPerformanceRatingDetail(void) +void ShowPerformanceRatingDetail() { AllocateWindowDescFront(&_performance_rating_detail_desc, 0); } |