]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfsprogs: fix up the noreturn annotations
authorChristoph Hellwig <hch@infradead.org>
Thu, 10 Sep 2009 21:20:29 +0000 (16:20 -0500)
committerAlex Elder <aelder@sgi.com>
Thu, 10 Sep 2009 21:20:29 +0000 (16:20 -0500)
commit455775d9a3b9648312ab0864a25f160a9ac6d64c
treed36b7ceb67d3f80a881de31211c5d71a65e46af4
parent192313be5a97e0f926573628073478d771bf21a4
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 and inline the do_msg function into
it's callers.

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