Skip to content

Commit

Permalink
iOS: Sync/Send fallout
Browse files Browse the repository at this point in the history
  • Loading branch information
vhbit committed Feb 24, 2015
1 parent dccdde4 commit 01385a2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/libstd/rand/os.rs
Expand Up @@ -188,7 +188,6 @@ mod imp {
extern crate libc;

use old_io::{IoResult};
use marker::Sync;
use mem;
use os;
use rand::Rng;
Expand All @@ -214,10 +213,8 @@ mod imp {
#[repr(C)]
struct SecRandom;

unsafe impl Sync for *const SecRandom {}

#[allow(non_upper_case_globals)]
static kSecRandomDefault: *const SecRandom = 0 as *const SecRandom;
const kSecRandomDefault: *const SecRandom = 0 as *const SecRandom;

#[link(name = "Security", kind = "framework")]
extern "C" {
Expand Down

0 comments on commit 01385a2

Please sign in to comment.