diff options
author | rubidium <rubidium@openttd.org> | 2013-11-23 21:31:00 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2013-11-23 21:31:00 +0000 |
commit | 5049e938f5e78726352217ab7b6eba2465f030a1 (patch) | |
tree | f14981bb5bab743fc9843ca5d1a0f8e43c2b87c1 /src/fileio.cpp | |
parent | 2f51639af8285dec2acb5a606ec4b6976acb6b3c (diff) | |
download | openttd-5049e938f5e78726352217ab7b6eba2465f030a1.tar.xz |
(svn r26076) -Codechange: upgrade some C-style named structs to C++-style named structs
Diffstat (limited to 'src/fileio.cpp')
-rw-r--r-- | src/fileio.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fileio.cpp b/src/fileio.cpp index 851090c07..d2bfe0396 100644 --- a/src/fileio.cpp +++ b/src/fileio.cpp @@ -721,7 +721,7 @@ bool TarScanner::AddFile(const char *filename, size_t basepath_length, const cha assert(tar_filename == NULL); /* The TAR-header, repeated for every file */ - typedef struct TarHeader { + struct TarHeader { char name[100]; ///< Name of the file char mode[8]; char uid[8]; @@ -740,7 +740,7 @@ bool TarScanner::AddFile(const char *filename, size_t basepath_length, const cha char prefix[155]; ///< Path of the file char unused[12]; - } TarHeader; + }; /* Check if we already seen this file */ TarList::iterator it = _tar_list[this->subdir].find(filename); |