about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael McConville <mmcco@mykolab.com>2015-12-17 02:13:48 -0500
committerMichael McConville <mmcco@mykolab.com>2015-12-18 19:26:11 -0500
commit33113f86f4c4f191d1bf42642b1a7714c576e395 (patch)
tree311cc79aa0f7ec7eae6c6f082b7d451fe000c07c
parent5b282981d3b592f344d272b91dee2370fb71d35f (diff)
downloadrust-33113f86f4c4f191d1bf42642b1a7714c576e395.tar.gz
rust-33113f86f4c4f191d1bf42642b1a7714c576e395.zip
Fix build by removing needless type prefix
-rw-r--r--src/libstd/rand/os.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rand/os.rs b/src/libstd/rand/os.rs
index 86116383c45..9669528898e 100644
--- a/src/libstd/rand/os.rs
+++ b/src/libstd/rand/os.rs
@@ -208,7 +208,7 @@ mod imp {
         fn syscall(number: c_long, ...) -> c_long;
     }
 
-    const NR_GETENTROPY: libc::c_long = 7;
+    const NR_GETENTROPY: c_long = 7;
 
     impl OsRng {
         /// Create a new `OsRng`.