(svn r6766) -Codechange: Move _openttd_revision[] into the functions that use it instead of global

This commit is contained in:
Darkvater
2006-10-13 15:52:22 +00:00
parent 35b059210d
commit 1436bbbc84
5 changed files with 5 additions and 10 deletions

View File

@@ -125,10 +125,9 @@ void *ReadFileToMem(const char *filename, size_t *lenp, size_t maxsize)
return mem;
}
extern const char _openttd_revision[];
static void showhelp(void)
{
extern const char _openttd_revision[];
char buf[4096], *p;
p = buf;