aboutsummaryrefslogtreecommitdiff
path: root/archival/libunarchive/seek_by_jump.c
diff options
context:
space:
mode:
Diffstat (limited to 'archival/libunarchive/seek_by_jump.c')
-rw-r--r--archival/libunarchive/seek_by_jump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libunarchive/seek_by_jump.c b/archival/libunarchive/seek_by_jump.c
index 578870d9b..fb99b26a7 100644
--- a/archival/libunarchive/seek_by_jump.c
+++ b/archival/libunarchive/seek_by_jump.c
@@ -22,7 +22,7 @@
22#include "libbb.h" 22#include "libbb.h"
23#include "unarchive.h" 23#include "unarchive.h"
24 24
25extern void seek_by_jump(const archive_handle_t *archive_handle, const unsigned int amount) 25void seek_by_jump(const archive_handle_t *archive_handle, const unsigned int amount)
26{ 26{
27 if (lseek(archive_handle->src_fd, (off_t) amount, SEEK_CUR) == (off_t) -1) { 27 if (lseek(archive_handle->src_fd, (off_t) amount, SEEK_CUR) == (off_t) -1) {
28#ifdef CONFIG_FEATURE_UNARCHIVE_TAPE 28#ifdef CONFIG_FEATURE_UNARCHIVE_TAPE