]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfsprogs: fix up the noreturn annotations
authorChristoph Hellwig <hch@infradead.org>
Wed, 9 Sep 2009 17:23:58 +0000 (14:23 -0300)
committerhch@lst.de <Christoph Hellwig>
Wed, 9 Sep 2009 17:23:58 +0000 (14:23 -0300)
commit079afa096dff0c9bb4d8b5e44543c42277b80411
treed36b7ceb67d3f80a881de31211c5d71a65e46af4
parentb1559967b663ef475b9c467e215e8cb898559bd1
xfsprogs: fix up the noreturn annotations

The usage function in mkfs needs a noreturn annotation too, otherwise
gcc will complain, similarly the do_msg function in repair would need
it if do_abort is set, but because conditional annotations aren't
possible just clean this area up an inline the do_msg function into
it's callers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
mkfs/xfs_mkfs.c
mkfs/xfs_mkfs.h
repair/xfs_repair.c