]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
mkfs: Remove workaround for getsubopt() on older glibc
authorFelix Janda <felix.janda@posteo.de>
Thu, 4 Aug 2016 01:29:49 +0000 (11:29 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 4 Aug 2016 01:29:49 +0000 (11:29 +1000)
commitab870d0ef6c292695f408c3eaa7b8484dfc4c8cf
treea613c9c1fad03af756414409ca1ab851ca117168
parent0054f91eec439a98be5c2c6140946fc58cd74a69
mkfs: Remove workaround for getsubopt() on older glibc

The workaround addressed a const-correctness warning on glibc
versions older than 2.2. However, it also captures alternative C
libraries on Linux which it should not do. glibc is really old, so
let's just remove the workaround.

Signed-off-by: Felix Janda <felix.janda@posteo.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
include/darwin.h
include/freebsd.h
include/gnukfreebsd.h
include/irix.h
include/linux.h
mkfs/xfs_mkfs.c
repair/xfs_repair.c