summaryrefslogtreecommitdiffstats
path: root/decoder.h
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 05:09:27 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 05:09:27 +0000
commit92533af3edd2386f8fa92e2fd8cdd7217e4529ef (patch)
treede8fba955b26579d3a8450e540e0a900747c70d2 /decoder.h
parentAdding debian version 1.7~pre1-1. (diff)
downloadlunzip-92533af3edd2386f8fa92e2fd8cdd7217e4529ef.tar.xz
lunzip-92533af3edd2386f8fa92e2fd8cdd7217e4529ef.zip
Merging upstream version 1.7.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'decoder.h')
-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];