]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_trans/back/msvc/registry.rs
Fix Windows
[rust.git] / src / librustc_trans / back / msvc / registry.rs
index 44b161a7575cc545ad5a5ab53c23af73ec7c9675..8242f53896afc6c762a3ff2ef84edf62295456de 100644 (file)
@@ -12,7 +12,7 @@
 use std::ffi::{OsString, OsStr};
 use std::os::windows::prelude::*;
 use std::ptr;
-use libc::{c_void, c_long};
+use libc::c_long;
 
 pub type DWORD = u32;
 type LPCWSTR = *const u16;
@@ -38,8 +38,6 @@ pub enum __HKEY__ {}
 pub type HKEY = *mut __HKEY__;
 pub type PHKEY = *mut HKEY;
 pub type REGSAM = DWORD;
-pub type LPWSTR = *mut u16;
-pub type PFILETIME = *mut c_void;
 
 #[link(name = "advapi32")]
 extern "system" {