summaryrefslogtreecommitdiff
path: root/driver.h
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2006-01-06 22:52:31 +0000
committertruelight <truelight@openttd.org>2006-01-06 22:52:31 +0000
commit30232bf428c8979667138a4b3ed2058cbe9fef9d (patch)
treebcbe71fd499d92db668ecf04b5e0a41fd2226d96 /driver.h
parent5e68953907d4859cdefa6dd521a1996a86ae4c49 (diff)
downloadopenttd-30232bf428c8979667138a4b3ed2058cbe9fef9d.tar.xz
(svn r3379) -Fix: protect showhelp against any possible overflow
-Add: [ FS#15 ] Added revision / version at top of help (./openttd -h)
Diffstat (limited to 'driver.h')
-rw-r--r--driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver.h b/driver.h
index 23964c01a..92cbaba01 100644
--- a/driver.h
+++ b/driver.h
@@ -8,6 +8,6 @@ void LoadDriver(int driver, const char *name);
bool GetDriverParamBool(const char* const* parm, const char* name);
int GetDriverParamInt(const char* const* parm, const char* name, int def);
-void GetDriverList(char* p);
+int GetDriverList(char* p, int size);
#endif /* DRIVER_H */