aboutsummaryrefslogtreecommitdiffstats
path: root/src/archive
diff options
context:
space:
mode:
Diffstat (limited to 'src/archive')
-rw-r--r--src/archive/bz2_plugin.c15
-rw-r--r--src/archive/iso_plugin.c15
-rw-r--r--src/archive/zip_plugin.c7
3 files changed, 0 insertions, 37 deletions
diff --git a/src/archive/bz2_plugin.c b/src/archive/bz2_plugin.c
index 6067d2acc..d7f33e383 100644
--- a/src/archive/bz2_plugin.c
+++ b/src/archive/bz2_plugin.c
@@ -256,19 +256,6 @@ bz2_is_eof(struct input_stream *is)
return false;
}
-static bool
-bz2_is_seek(G_GNUC_UNUSED struct input_stream *is,
- G_GNUC_UNUSED off_t offset, G_GNUC_UNUSED int whence)
-{
- return false;
-}
-
-static int
-bz2_is_buffer(G_GNUC_UNUSED struct input_stream *is)
-{
- return 0;
-}
-
/* exported structures */
static const char *const bz2_extensions[] = {
@@ -280,8 +267,6 @@ static const struct input_plugin bz2_inputplugin = {
.close = bz2_is_close,
.read = bz2_is_read,
.eof = bz2_is_eof,
- .seek = bz2_is_seek,
- .buffer = bz2_is_buffer
};
const struct archive_plugin bz2_plugin = {
diff --git a/src/archive/iso_plugin.c b/src/archive/iso_plugin.c
index de5582e2c..b5ac7f6ca 100644
--- a/src/archive/iso_plugin.c
+++ b/src/archive/iso_plugin.c
@@ -211,19 +211,6 @@ iso_is_eof(struct input_stream *is)
return (context->cur_ofs == context->statbuf->size);
}
-static bool
-iso_is_seek(G_GNUC_UNUSED struct input_stream *is,
- G_GNUC_UNUSED off_t offset, G_GNUC_UNUSED int whence)
-{
- return false;
-}
-
-static int
-iso_is_buffer(G_GNUC_UNUSED struct input_stream *is)
-{
- return 0;
-}
-
/* exported structures */
static const char *const iso_extensions[] = {
@@ -235,8 +222,6 @@ static const struct input_plugin iso_inputplugin = {
.close = iso_is_close,
.read = iso_is_read,
.eof = iso_is_eof,
- .seek = iso_is_seek,
- .buffer = iso_is_buffer
};
const struct archive_plugin iso_plugin = {
diff --git a/src/archive/zip_plugin.c b/src/archive/zip_plugin.c
index 9df449ab5..7231d4904 100644
--- a/src/archive/zip_plugin.c
+++ b/src/archive/zip_plugin.c
@@ -167,12 +167,6 @@ zip_is_seek(G_GNUC_UNUSED struct input_stream *is,
return false;
}
-static int
-zip_is_buffer(G_GNUC_UNUSED struct input_stream *is)
-{
- return 0;
-}
-
/* exported structures */
static const char *const zip_extensions[] = {
@@ -185,7 +179,6 @@ static const struct input_plugin zip_inputplugin = {
.read = zip_is_read,
.eof = zip_is_eof,
.seek = zip_is_seek,
- .buffer = zip_is_buffer
};
const struct archive_plugin zip_plugin = {