about summary refs log tree commit diff
path: root/src/libstd/unstable/dynamic_lib.rs
diff options
context:
space:
mode:
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;