Skip to content

Commit

Permalink
Auto merge of #26567 - Techern:os-dupe-code, r=alexcrichton
Browse files Browse the repository at this point in the history
It's nearly midnight. I'm tired. I'll look for something worth doing in the morning :)
  • Loading branch information
bors committed Jun 25, 2015
2 parents 8cf22b5 + ad39fcc commit 912ab64
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/libstd/rand/os.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ mod imp {
const NR_GETRANDOM: libc::c_long = 318;
#[cfg(target_arch = "x86")]
const NR_GETRANDOM: libc::c_long = 355;
#[cfg(any(target_arch = "arm", target_arch = "aarch64"))]
const NR_GETRANDOM: libc::c_long = 384;
#[cfg(target_arch = "powerpc")]
#[cfg(any(target_arch = "arm", target_arch = "aarch64", target_arch = "powerpc"))]
const NR_GETRANDOM: libc::c_long = 384;

unsafe {
Expand Down

0 comments on commit 912ab64

Please sign in to comment.