]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libfdisk: (gpt) cleanup entries array size calculations
authorKarel Zak <kzak@redhat.com>
Thu, 16 Jan 2020 13:28:31 +0000 (14:28 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 23 Jan 2020 14:50:53 +0000 (15:50 +0100)
commitb1bc5ae39ee6b90da53d7e17b1e6fbe0341433fa
tree258260c6200f110f7f4559f32da54ffc1832761e
parent3c3b7648c98dc51426b852ffb825b5dba978016c
libfdisk: (gpt) cleanup entries array size calculations

- move all calculations to inline functions
- remove duplicate code
- keep the same names for the same stuff

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk/src/gpt.c