diff options
author | Darkvater <darkvater@openttd.org> | 2006-10-13 15:52:22 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-10-13 15:52:22 +0000 |
commit | 1436bbbc842ca5177fcd41c74092919ffacc0e93 (patch) | |
tree | d89c2e1cd2ccca083f9c360a39f87aa236e901af /openttd.c | |
parent | 35b059210dc8c2f73ff386483bf11b6c6ab2e496 (diff) | |
download | openttd-1436bbbc842ca5177fcd41c74092919ffacc0e93.tar.xz |
(svn r6766) -Codechange: Move _openttd_revision[] into the functions that use it instead of global
Diffstat (limited to 'openttd.c')
-rw-r--r-- | openttd.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |