Fixed build warnings
This commit is contained in:
parent
0d10dda72a
commit
c973a1f83e
10 changed files with 21 additions and 16 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
#![cfg(any(target_os = "linux", target_os = "freebsd"))]
|
||||
#![allow(unused_variables, dead_code)]
|
||||
|
||||
use libc;
|
||||
use api::osmesa::{OsMesaContext, OsMesaCreationError};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue