]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: remove unneeded fields from struct bcache_super_block
authorSami Kerola <kerolasa@iki.fi>
Thu, 23 May 2019 20:06:23 +0000 (21:06 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 27 May 2019 09:58:13 +0000 (11:58 +0200)
commitebd13d3fc53189ab620da51eae2dfc6b19db786c
treec286f9cd0b17b9fdca861aa41e5502e5e0cfc40f
parent9c6167c394bf5a7c374a6bd626478e1079facebe
libblkid: remove unneeded fields from struct bcache_super_block

This started as fix to following warning.

    libblkid/src/superblocks/bcache.c:33:3: warning: ISO C99 doesn’t
    support unnamed structs/unions [-Wc99-c11-compat]

But when sent to review Karel told out rather than getting rid of warnings
lets get rid of everything unnecessary.

[kzak@redhat.com: - use original struct member names rather than 'padN']

Reference: https://github.com/karelzak/util-linux/pull/802
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
libblkid/src/superblocks/bcache.c