(svn r18028) -Codechange: unglobalise some functions
This commit is contained in:
@@ -148,7 +148,7 @@ static uint32 RemapOldTownName(uint32 townnameparts, byte old_town_name_type)
|
||||
|
||||
#undef FIXNUM
|
||||
|
||||
void FixOldTowns()
|
||||
static void FixOldTowns()
|
||||
{
|
||||
Town *town;
|
||||
|
||||
|
@@ -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) {
|
||||
|
@@ -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;
|
||||
|
@@ -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) {
|
||||
|
@@ -737,7 +737,7 @@ void Load_VEHS()
|
||||
}
|
||||
}
|
||||
|
||||
void Ptrs_VEHS()
|
||||
static void Ptrs_VEHS()
|
||||
{
|
||||
Vehicle *v;
|
||||
FOR_ALL_VEHICLES(v) {
|
||||
|
Reference in New Issue
Block a user