iOS: Sync/Send fallout

This commit is contained in:
Valerii Hiora 2015-02-24 16:44:30 +02:00
parent dccdde4007
commit 01385a237f

View File

@ -188,7 +188,6 @@ mod imp {
extern crate libc;
use old_io::{IoResult};
use marker::Sync;
use mem;
use os;
use rand::Rng;
@ -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" {