fsx: fix compiler warning due to bad prototype
authorDavid Disseldorp <ddiss@suse.de>
Fri, 30 Sep 2016 11:52:18 +0000 (13:52 +0200)
committerEryu Guan <eguan@redhat.com>
Fri, 7 Oct 2016 09:18:53 +0000 (17:18 +0800)
commit3ea91b080b42eab74a636bd4c2c15946715bcd5e
tree4e6a805a0b4bfdcd3b449746a86d9886a017b171
parenta5296288d631aa0ba0b3cd83dc90a33a1fe44e37
fsx: fix compiler warning due to bad prototype

I see the following with gcc 4.8.5 [-Wunprototyped-calls]:
warning: call to function 'cleanup' without a real prototype

Fix this by moving the function definition up, and dropping the
prototype.

Signed-off-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eryu Guan <eguan@redhat.com>
ltp/fsx.c