(svn r907) Sprinkle holy ANSI water:

- "inline" must before the return type (and after "static")
- Initialise all struct members, not just some of them
- Remove (one) spurious semicolon
This commit is contained in:
tron
2004-12-03 07:43:00 +00:00
parent b7f0b278fb
commit c00258237e
12 changed files with 38 additions and 31 deletions

View File

@@ -24,7 +24,7 @@ typedef struct {
#define MKSTATION(a,b) {1,a,b}
#define MKRAIL(a,b) {2,a,b}
#define MKCLRRAIL(a,b) {3,a,b}
#define MKEND {4}}
#define MKEND {4, 0, 0}}
static const AiDefaultRailBlock _raildata_ai_0 = {
MKHDR(1,2,1,0,1)
@@ -463,12 +463,12 @@ static const AiDefaultRoadBlock * const _road_default_block_data[] = {
static const AiDefaultBlockData _airportdata_ai_0[] = {
MKAIR(1, 0),
{1},
{1, 0, 0},
};
static const AiDefaultBlockData _airportdata_ai_1[] = {
MKAIR(0, 0),
{1}
{1, 0, 0}
};
static const AiDefaultBlockData * const _airport_default_block_data[] = {