about summary refs log tree commit diff
path: root/src/libstd/unstable/dynamic_lib.rs
diff options
context:
space:
mode:
authorKevin Butler <haqkrs@gmail.com>2014-05-30 17:07:16 +0100
committerKevin Butler <haqkrs@gmail.com>2014-05-30 17:59:41 +0100
commit030b3a2499a73a6d3b4629ad676d2d9cd6a79df0 (patch)
tree3f91ec213f4f8bd4a4b1e9679a59dec5b6529dbb /src/libstd/unstable/dynamic_lib.rs
parent09fc34066b202ce454c3230368de63be621be98c (diff)
windows: Allow snake_case errors for now.
Diffstat (limited to 'src/libstd/unstable/dynamic_lib.rs')
-rw-r--r--src/libstd/unstable/dynamic_lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/unstable/dynamic_lib.rs b/src/libstd/unstable/dynamic_lib.rs
index 81eb51107ba..6c406a7c847 100644
--- a/src/libstd/unstable/dynamic_lib.rs
+++ b/src/libstd/unstable/dynamic_lib.rs
@@ -1,4 +1,4 @@
-// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
+// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
 // file at the top-level directory of this distribution and at
 // http://rust-lang.org/COPYRIGHT.
 //
@@ -317,6 +317,7 @@ pub mod dl {
         FreeLibrary(handle as *libc::c_void); ()
     }
 
+    #[allow(non_snake_case_functions)]
     extern "system" {
         fn SetLastError(error: libc::size_t);
         fn LoadLibraryW(name: *libc::c_void) -> *libc::c_void;