mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfstests: fix a few build warnings
This patch fixes a few build warnings. I have built the code using i386, x86_64, and ia64 architectures and each has ends up with complaints of one sort or anther. This gets rid of all of them *except* those reported by files under the "ltp" (Linux Test Project) sub-tree. Signed-off-by: Alex Elder <aelder@sgi.com> Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
This commit is contained in:
+1
-1
@@ -453,7 +453,7 @@ int
|
||||
lio_random_methods(long curr_mask)
|
||||
{
|
||||
int mask=0;
|
||||
long random_bit();
|
||||
long random_bit(long);
|
||||
|
||||
/* remove random select, io type, and wait method bits from curr_mask */
|
||||
mask = curr_mask & (~(LIO_IO_TYPES | LIO_WAIT_TYPES | LIO_RANDOM));
|
||||
|
||||
Reference in New Issue
Block a user