(svn r18028) -Codechange: unglobalise some functions

This commit is contained in:
rubidium
2009-11-09 10:40:33 +00:00
parent b2d7edddfa
commit 224f4e0197
38 changed files with 97 additions and 120 deletions

View File

@@ -148,7 +148,7 @@ static uint32 RemapOldTownName(uint32 townnameparts, byte old_town_name_type)
#undef FIXNUM
void FixOldTowns()
static void FixOldTowns()
{
Town *town;

View File

@@ -767,7 +767,7 @@ static inline size_t SlCalcListLen(const void *list)
* @param list The list being manipulated
* @param conv SLRefType type of the list (Vehicle *, Station *, etc)
*/
void SlList(void *list, SLRefType conv)
static void SlList(void *list, SLRefType conv)
{
/* Automatically calculate the length? */
if (_sl.need_length != NL_NONE) {

View File

@@ -259,7 +259,7 @@ static void Load_STNS()
}
}
void Ptrs_STNS()
static void Ptrs_STNS()
{
/* Don't run when savegame version is higher than or equal to 123. */
if (!CheckSavegameVersion(123)) return;

View File

@@ -27,7 +27,7 @@ static const SaveLoad _subsidies_desc[] = {
SLE_END()
};
void Save_SUBS()
static void Save_SUBS()
{
Subsidy *s;
FOR_ALL_SUBSIDIES(s) {
@@ -36,7 +36,7 @@ void Save_SUBS()
}
}
void Load_SUBS()
static void Load_SUBS()
{
int index;
while ((index = SlIterateArray()) != -1) {

View File

@@ -737,7 +737,7 @@ void Load_VEHS()
}
}
void Ptrs_VEHS()
static void Ptrs_VEHS()
{
Vehicle *v;
FOR_ALL_VEHICLES(v) {