Skip to content

c_schar is no longer in libc base export #125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 17, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/sdl/cd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ use get_error;
pub mod ll {
#![allow(non_camel_case_types)]

use libc::{c_int, c_schar, uint8_t, uint16_t, uint32_t};
use libc::{c_int, uint8_t, uint16_t, uint32_t};
use libc::types::os::arch::c95::c_schar;

pub type CDstatus = c_int;

Expand Down
3 changes: 2 additions & 1 deletion src/sdl/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ pub mod ll {
#![allow(non_camel_case_types)]

use std::cast;
use libc::{c_void, c_int, c_uint, c_uchar, c_schar, uint8_t, uint16_t, int16_t};
use libc::{c_void, c_int, c_uint, c_uchar, uint8_t, uint16_t, int16_t};
use libc::types::os::arch::c95::c_schar;

pub type SDLKey = c_uint;
pub type SDLMod = c_uint;
Expand Down
3 changes: 2 additions & 1 deletion src/sdl/joy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ use get_error;
pub mod ll {
#![allow(non_camel_case_types)]

use libc::{c_void, c_int, c_schar, uint8_t, int16_t};
use libc::{c_void, c_int, uint8_t, int16_t};
use libc::types::os::arch::c95::c_schar;

pub type SDL_Joystick = c_void;

Expand Down
3 changes: 2 additions & 1 deletion src/sdl/sdl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ mod others {
pub mod ll {
#![allow(non_camel_case_types)]

use libc::{c_int, c_uint, c_schar, uint32_t};
use libc::{c_int, c_uint, uint32_t};
use libc::types::os::arch::c95::c_schar;

pub type SDL_errorcode = c_uint;
pub static SDL_ENOMEM: SDL_errorcode = 0;
Expand Down
3 changes: 2 additions & 1 deletion src/sdl/video.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ pub mod ll {

use Rect;

use libc::{c_void, c_uint, c_int, c_float, c_schar, c_uchar, uint8_t, uint16_t};
use libc::{c_void, c_uint, c_int, c_float, c_uchar, uint8_t, uint16_t};
use libc::{uint32_t, int32_t};
use libc::types::os::arch::c95::c_schar;

pub type SDL_Rect = Rect;

Expand Down
3 changes: 2 additions & 1 deletion src/sdl/wm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ pub mod ll {

use video::ll::SDL_Surface;

use libc::{c_schar, uint8_t, c_int};
use libc::{uint8_t, c_int};
use libc::types::os::arch::c95::c_schar;

pub type SDL_GrabMode = c_int;

Expand Down
3 changes: 2 additions & 1 deletion src/sdl_image/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ pub mod ll {

use sdl::video::ll::SDL_Surface;

use libc::{c_int, c_uint, c_schar};
use libc::{c_int, c_uint};
use libc::types::os::arch::c95::c_schar;

pub type IMG_InitFlags = c_uint;

Expand Down