summary refs log tree commit diff
path: root/src/libterm
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/libterm
parent09fc34066b202ce454c3230368de63be621be98c (diff)
downloadrust-030b3a2499a73a6d3b4629ad676d2d9cd6a79df0.tar.gz
rust-030b3a2499a73a6d3b4629ad676d2d9cd6a79df0.zip
windows: Allow snake_case errors for now.
Diffstat (limited to 'src/libterm')
-rw-r--r--src/libterm/win.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libterm/win.rs b/src/libterm/win.rs
index 837ddf566ef..00e90fc3cde 100644
--- a/src/libterm/win.rs
+++ b/src/libterm/win.rs
@@ -27,6 +27,7 @@ pub struct WinConsole<T> {
     background: color::Color,
 }
 
+#[allow(non_snake_case_functions)]
 #[link(name = "kernel32")]
 extern "system" {
     fn SetConsoleTextAttribute(handle: libc::HANDLE, attr: libc::WORD) -> libc::BOOL;