summaryrefslogtreecommitdiffstats
path: root/decoder.h
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 05:09:21 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 05:09:21 +0000
commit8469f9f6b5ed695b45b4fe244d3f44c8e43a83b5 (patch)
tree4c8476e2deb59819daaa41e721ae44945a864c64 /decoder.h
parentAdding upstream version 1.7~pre1. (diff)
downloadlunzip-8469f9f6b5ed695b45b4fe244d3f44c8e43a83b5.tar.xz
lunzip-8469f9f6b5ed695b45b4fe244d3f44c8e43a83b5.zip
Adding upstream version 1.7.upstream/1.7
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to '')
-rw-r--r--decoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder.h b/decoder.h
index 6d40fbc..e8030ab 100644
--- a/decoder.h
+++ b/decoder.h
@@ -259,7 +259,7 @@ void LZd_flush_data( struct LZ_decoder * const d );
int seek_read( const int fd, uint8_t * const buf, const int size,
const int offset );
-static inline uint8_t LZd_peek1( const struct LZ_decoder * const d )
+static inline uint8_t LZd_peek_prev( const struct LZ_decoder * const d )
{
const int i = ( ( d->pos > 0 ) ? d->pos : d->buffer_size ) - 1;
return d->buffer[i];