1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 07:14:31 +01:00

Fix function definitions to match their declarations

This makes sure every function is properly declared, which includes
proper `extern` wrappers.
This commit is contained in:
Michał Janiszewski
2016-07-13 00:46:51 +02:00
parent 5204fb0ce9
commit a6d0e6916e
79 changed files with 413 additions and 352 deletions

View File

@@ -17,6 +17,7 @@
extern "C"
{
#include "../platform/platform.h"
#include "../openrct2.h"
}
#include "../core/Console.hpp"
@@ -290,7 +291,7 @@ namespace CommandLine
return buffer;
}
const CommandLineCommand * FindCommandFor(const CommandLineCommand * commands, CommandLineArgEnumerator *argEnumerator)
static const CommandLineCommand * FindCommandFor(const CommandLineCommand * commands, CommandLineArgEnumerator *argEnumerator)
{
// Check if end of arguments or options have started
const char * firstArgument;