aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/caca
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/caca')
-rw-r--r--src/api/caca/ffi.rs4
-rw-r--r--src/api/caca/mod.rs1
2 files changed, 3 insertions, 2 deletions
diff --git a/src/api/caca/ffi.rs b/src/api/caca/ffi.rs
index e0921ae..4a7b813 100644
--- a/src/api/caca/ffi.rs
+++ b/src/api/caca/ffi.rs
@@ -1,6 +1,6 @@
+#![allow(non_camel_case_types)]
+
use libc;
-use std::ffi::CStr;
-use std::mem;
pub type caca_display_t = libc::c_void;
pub type caca_canvas_t = libc::c_void;
diff --git a/src/api/caca/mod.rs b/src/api/caca/mod.rs
index 1e3840c..06a6931 100644
--- a/src/api/caca/mod.rs
+++ b/src/api/caca/mod.rs
@@ -1,4 +1,5 @@
#![cfg(any(target_os = "linux", target_os = "freebsd"))]
+#![allow(unused_variables, dead_code)]
use libc;
use api::osmesa::{OsMesaContext, OsMesaCreationError};