about summary refs log tree commit diff
path: root/src/libstd/rand
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/rand
parent09fc34066b202ce454c3230368de63be621be98c (diff)
downloadrust-030b3a2499a73a6d3b4629ad676d2d9cd6a79df0.tar.gz
rust-030b3a2499a73a6d3b4629ad676d2d9cd6a79df0.zip
windows: Allow snake_case errors for now.
Diffstat (limited to 'src/libstd/rand')
-rw-r--r--src/libstd/rand/os.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/rand/os.rs b/src/libstd/rand/os.rs
index 3a6c0124ee0..284d41d3208 100644
--- a/src/libstd/rand/os.rs
+++ b/src/libstd/rand/os.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.
 //
@@ -93,6 +93,7 @@ mod imp {
     static CRYPT_VERIFYCONTEXT: DWORD = 0xF0000000;
     static NTE_BAD_SIGNATURE: DWORD = 0x80090006;
 
+    #[allow(non_snake_case_functions)]
     extern "system" {
         fn CryptAcquireContextA(phProv: *mut HCRYPTPROV,
                                 pszContainer: LPCSTR,