Update for libc split
This commit is contained in:
parent
e8b7975084
commit
a145df011c
|
|
@ -1,5 +1,5 @@
|
|||
use std::libc::c_uint;
|
||||
use std::libc;
|
||||
use libc;
|
||||
use libc::c_uint;
|
||||
use std::ptr;
|
||||
use std::slice;
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
use std::libc::{c_uchar, c_int, c_uint};
|
||||
use libc::{c_uchar, c_int, c_uint};
|
||||
use std::ptr;
|
||||
use std::slice;
|
||||
use crypto::hash;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
use std::libc::c_int;
|
||||
use libc::c_int;
|
||||
use std::slice;
|
||||
|
||||
#[link(name = "crypto")]
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
use std::cast;
|
||||
use std::libc::{c_char, c_int, c_uint};
|
||||
use std::libc;
|
||||
use libc::{c_char, c_int, c_uint};
|
||||
use libc;
|
||||
use std::ptr;
|
||||
use std::slice;
|
||||
use crypto::hash::{HashType, MD5, SHA1, SHA224, SHA256, SHA384, SHA512};
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
use std::libc::c_int;
|
||||
use libc::c_int;
|
||||
use std::slice;
|
||||
|
||||
#[link(name = "crypto")]
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
use std::libc::{c_int, c_uint};
|
||||
use std::libc;
|
||||
use libc::{c_int, c_uint};
|
||||
use libc;
|
||||
use std::slice;
|
||||
|
||||
#[allow(non_camel_case_types)]
|
||||
|
|
|
|||
1
lib.rs
1
lib.rs
|
|
@ -4,6 +4,7 @@
|
|||
#![crate_type="dylib"]
|
||||
#![doc(html_root_url="http://www.rust-ci.org/sfackler/rust-openssl/doc")]
|
||||
|
||||
extern crate libc;
|
||||
#[cfg(test)]
|
||||
extern crate serialize;
|
||||
extern crate sync;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
use std::libc::c_ulong;
|
||||
use libc::c_ulong;
|
||||
use std::io::IoError;
|
||||
|
||||
use ssl::ffi;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#![allow(non_camel_case_types)]
|
||||
|
||||
use std::libc::{c_int, c_void, c_long, c_ulong, c_char};
|
||||
use libc::{c_int, c_void, c_long, c_ulong, c_char};
|
||||
|
||||
pub type SSL_CTX = c_void;
|
||||
pub type SSL_METHOD = c_void;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
use sync::one::{Once, ONCE_INIT};
|
||||
use std::cast;
|
||||
use std::libc::{c_int, c_void, c_char};
|
||||
use libc::{c_int, c_void, c_char};
|
||||
use std::ptr;
|
||||
use std::io::{IoResult, IoError, EndOfFile, Stream, Reader, Writer};
|
||||
use std::unstable::mutex::NativeMutex;
|
||||
|
|
|
|||
Loading…
Reference in New Issue