(sparse_file_p): Remove

This commit is contained in:
Sergey Poznyakoff
2006-06-25 12:45:16 +00:00
parent 39e5d9182c
commit ea9e2d8d8e
2 changed files with 0 additions and 10 deletions

View File

@@ -409,15 +409,6 @@ sparse_dump_file (int fd, struct tar_stat_info *st)
return (tar_sparse_done (&file) && rc) ? dump_status_ok : dump_status_short;
}
/* Returns true if the file represented by stat is a sparse one */
bool
sparse_file_p (struct tar_stat_info *st)
{
return (ST_NBLOCKS (st->stat)
< (st->stat.st_size / ST_NBLOCKSIZE
+ (st->stat.st_size % ST_NBLOCKSIZE != 0)));
}
bool
sparse_member_p (struct tar_stat_info *st)
{