]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
mkfs: make subopt table const
authorDave Chinner <dchinner@redhat.com>
Wed, 6 Dec 2017 23:14:27 +0000 (17:14 -0600)
committerEric Sandeen <sandeen@redhat.com>
Wed, 6 Dec 2017 23:14:27 +0000 (17:14 -0600)
commit05abf43d42822655557b95ad355be5a21d609ab4
treef5b41eb723f53721281da683be7b29f4a31ba89c
parent594932fbf720da416d69d81e6f6d3c29435f122d
mkfs: make subopt table const

Use const for all the tables to remove most of the (char **) casts.
This adds a couple of temporary (const char **) casts that go away
as the input parsing is factored.

Signed-Off-By: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
mkfs/xfs_mkfs.c