diff options
author | Patrick Simianer <p@simianer.de> | 2011-10-19 20:56:22 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2011-10-19 20:56:22 +0200 |
commit | ef2df950520a47ca7011736648334eedeae5297a (patch) | |
tree | feb7893845075429573ca935e7f6b130132f2381 /klm/lm/binary_format.cc | |
parent | eb14e36d0b29f19321d44dd7dfa73cc703838d86 (diff) |
merged, compiles but not working
Diffstat (limited to 'klm/lm/binary_format.cc')
-rw-r--r-- | klm/lm/binary_format.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/klm/lm/binary_format.cc b/klm/lm/binary_format.cc index eac8aa85..27cada13 100644 --- a/klm/lm/binary_format.cc +++ b/klm/lm/binary_format.cc @@ -182,10 +182,6 @@ void SeekPastHeader(int fd, const Parameters ¶ms) { SeekOrThrow(fd, TotalHeaderSize(params.counts.size())); } -void SeekPastHeader(int fd, const Parameters ¶ms) { - SeekOrThrow(fd, TotalHeaderSize(params.counts.size())); -} - uint8_t *SetupBinary(const Config &config, const Parameters ¶ms, std::size_t memory_size, Backing &backing) { const off_t file_size = util::SizeFile(backing.file.get()); // The header is smaller than a page, so we have to map the whole header as well. |