diff options
author | rubidium <rubidium@openttd.org> | 2009-11-09 09:27:48 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-09 09:27:48 +0000 |
commit | 37027467567dd0b75bbb932cdab87da3ff24dedd (patch) | |
tree | 2841920ca76366612d11f5d1c443f52ae440fffd /src/fileio_func.h | |
parent | 6db598e408f069a78714631868a7b4afd4782605 (diff) | |
download | openttd-37027467567dd0b75bbb932cdab87da3ff24dedd.tar.xz |
(svn r18026) -Codechange: make a lookup table static that doesn't need to be 'exported'
Diffstat (limited to 'src/fileio_func.h')
-rw-r--r-- | src/fileio_func.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/fileio_func.h b/src/fileio_func.h index 2bb0ecc05..b2d2da803 100644 --- a/src/fileio_func.h +++ b/src/fileio_func.h @@ -56,13 +56,6 @@ char *FioFindFullPath(char *buf, size_t buflen, Subdirectory subdir, const char char *FioAppendDirectory(char *buf, size_t buflen, Searchpath sp, Subdirectory subdir); char *FioGetDirectory(char *buf, size_t buflen, Subdirectory subdir); -static inline const char *FioGetSubdirectory(Subdirectory subdir) -{ - extern const char *_subdirs[NUM_SUBDIRS]; - assert(subdir < NUM_SUBDIRS); - return _subdirs[subdir]; -} - void SanitizeFilename(char *filename); void AppendPathSeparator(char *buf, size_t buflen); void DeterminePaths(const char *exe); |