summaryrefslogtreecommitdiff
path: root/klm/lm/binary_format.cc
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2011-10-19 20:56:22 +0200
committerPatrick Simianer <p@simianer.de>2011-10-19 20:56:22 +0200
commitef2df950520a47ca7011736648334eedeae5297a (patch)
treefeb7893845075429573ca935e7f6b130132f2381 /klm/lm/binary_format.cc
parenteb14e36d0b29f19321d44dd7dfa73cc703838d86 (diff)
merged, compiles but not working
Diffstat (limited to 'klm/lm/binary_format.cc')
-rw-r--r--klm/lm/binary_format.cc4
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 &params) {
SeekOrThrow(fd, TotalHeaderSize(params.counts.size()));
}
-void SeekPastHeader(int fd, const Parameters &params) {
- SeekOrThrow(fd, TotalHeaderSize(params.counts.size()));
-}
-
uint8_t *SetupBinary(const Config &config, const Parameters &params, 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.