]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_io: include io.h to silence static function warnings
authorEric Sandeen <sandeen@redhat.com>
Wed, 17 Oct 2018 18:25:10 +0000 (13:25 -0500)
committerEric Sandeen <sandeen@redhat.com>
Wed, 17 Oct 2018 18:25:10 +0000 (13:25 -0500)
commit011f253335012b0e9ea5fdeee3feee036ba453f6
treefe118c776701a7038824991f18972fa3f2c1e5f6
parent1281240716f51b6a28ff944f366ed511736527c6
xfs_io: include io.h to silence static function warnings

io.h exports functions from io/getrusage.c and io/log_writes.c, so include
it from these files to silence warnings about potentially static functions
(getrusage_init, log_writes_init) in sparse.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
io/getrusage.c
io/log_writes.c