Reacted on compiler warnings of Debian 13 Sid about IsoStreamIface.type

This commit is contained in:
2025-09-14 13:43:16 +02:00
parent 605643d955
commit 21cd286cd4
5 changed files with 11 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
/*
* Copyright (c) 2007 Vreixo Formoso
* Copyright (c) 2010 - 2024 Thomas Schmitt
* Copyright (c) 2010 - 2025 Thomas Schmitt
*
* This file is part of the libisofs project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version 2
@@ -1149,7 +1149,7 @@ void catalog_free(IsoStream *stream)
IsoStreamIface catalog_stream_class = {
0,
"boot",
{'b', 'o', 'o', 't'},
catalog_open,
catalog_close,
catalog_get_size,

View File

@@ -637,7 +637,7 @@ int extf_cmp_ino(IsoStream *s1, IsoStream *s2);
IsoStreamIface extf_stream_class = {
4,
"extf",
{'e', 'x', 't', 'f'},
extf_stream_open,
extf_stream_close,
extf_stream_get_size,

View File

@@ -579,7 +579,7 @@ int gzip_uncompress_cmp_ino(IsoStream *s1, IsoStream *s2);
IsoStreamIface gzip_stream_compress_class = {
4,
"gzip",
{'g', 'z', 'i', 'p'},
gzip_stream_open,
gzip_stream_close,
gzip_stream_get_size,
@@ -596,7 +596,7 @@ IsoStreamIface gzip_stream_compress_class = {
IsoStreamIface gzip_stream_uncompress_class = {
4,
"pizg",
{'p', 'i', 'z', 'g'},
gzip_stream_open,
gzip_stream_close,
gzip_stream_get_size,

View File

@@ -1282,7 +1282,7 @@ int ziso_uncompress_cmp_ino(IsoStream *s1, IsoStream *s2);
IsoStreamIface ziso_stream_compress_class = {
4,
"ziso",
{'z', 'i', 's', 'o'},
ziso_stream_open,
ziso_stream_close,
ziso_stream_get_size,
@@ -1299,7 +1299,7 @@ IsoStreamIface ziso_stream_compress_class = {
IsoStreamIface ziso_stream_uncompress_class = {
4,
"osiz",
{'o', 's', 'i', 'z'},
ziso_stream_open,
ziso_stream_close,
ziso_stream_get_size,

View File

@@ -1,6 +1,6 @@
/*
* Copyright (c) 2007 Vreixo Formoso
* Copyright (c) 2009 - 2022 Thomas Schmitt
* Copyright (c) 2009 - 2025 Thomas Schmitt
*
* This file is part of the libisofs project; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version 2
@@ -210,7 +210,7 @@ int fsrc_clone_stream(IsoStream *old_stream, IsoStream **new_stream,
static
IsoStreamIface fsrc_stream_class = {
4, /* version */
"fsrc",
{'f', 's', 'r', 'c'},
fsrc_open,
fsrc_close,
fsrc_get_size,
@@ -498,7 +498,7 @@ int cut_out_clone_stream(IsoStream *old_stream, IsoStream **new_stream,
static
IsoStreamIface cut_out_stream_class = {
4, /* version */
"cout",
{'c', 'o', 'u', 't'},
cut_out_open,
cut_out_close,
cut_out_get_size,
@@ -742,7 +742,7 @@ int mem_clone_stream(IsoStream *old_stream, IsoStream **new_stream,
static
IsoStreamIface mem_stream_class = {
4, /* version */
"mem ",
{'m', 'e', 'm', ' '},
mem_open,
mem_close,
mem_get_size,