summaryrefslogtreecommitdiff
path: root/src/sys/statvfs.rs
diff options
context:
space:
mode:
authorBryant Mairs <bryantmairs@google.com>2018-01-14 09:28:41 -0800
committerBryant Mairs <bryantmairs@google.com>2018-01-28 15:35:35 -0800
commit914cda7cc984c79165d5038e07132fdb94780cee (patch)
tree8ef7939c274416cad52cdb94511f4e1a6caf9aea /src/sys/statvfs.rs
parent899eff72f92cbc300fbd7779957907a39aa0e42b (diff)
downloadnix-914cda7cc984c79165d5038e07132fdb94780cee.zip
Deny unused qualifications
Diffstat (limited to 'src/sys/statvfs.rs')
-rw-r--r--src/sys/statvfs.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sys/statvfs.rs b/src/sys/statvfs.rs
index fbd0570e..e4b00b37 100644
--- a/src/sys/statvfs.rs
+++ b/src/sys/statvfs.rs
@@ -61,12 +61,12 @@ pub struct Statvfs(libc::statvfs);
impl Statvfs {
/// get the file system block size
- pub fn block_size(&self) -> libc::c_ulong {
+ pub fn block_size(&self) -> c_ulong {
self.0.f_bsize
}
/// Get the fundamental file system block size
- pub fn fragment_size(&self) -> libc::c_ulong {
+ pub fn fragment_size(&self) -> c_ulong {
self.0.f_frsize
}
@@ -113,7 +113,7 @@ impl Statvfs {
}
/// Get the maximum filename length
- pub fn name_max(&self) -> libc::c_ulong {
+ pub fn name_max(&self) -> c_ulong {
self.0.f_namemax
}