Merge pull request #87 from jcmoyer/flags-mod

Remove unnecessary 'mod flags' declarations
This commit is contained in:
Tony Aldridge
2014-05-02 09:24:40 +01:00
8 changed files with 1 additions and 15 deletions
-2
View File
@@ -1,5 +1,3 @@
mod flags;
#[allow(non_camel_case_types)]
pub mod ll {
use libc::{c_int, c_char, c_void, int32_t, int16_t, int8_t, uint8_t};
-2
View File
@@ -9,8 +9,6 @@ use rect::Rect;
use scancode::ScanCode;
use video::Window;
mod flags;
#[allow(non_camel_case_types)]
pub mod ll {
use libc::{c_int, c_char, c_uint, int32_t, uint8_t, uint16_t,
+1 -1
View File
@@ -16,6 +16,7 @@ pub mod keycode;
#[path = "generated/scancode.rs"]
pub mod scancode;
pub mod flags;
pub mod event;
pub mod gesture;
pub mod touch;
@@ -33,4 +34,3 @@ pub mod rwops;
pub mod sdl;
pub mod audio;
pub mod version;
pub mod flags;
-2
View File
@@ -4,8 +4,6 @@ use get_error;
use surface;
use video;
mod flags;
#[allow(non_camel_case_types)]
pub mod ll {
use libc::{c_int, c_uint, c_void, uint8_t, uint32_t};
-2
View File
@@ -13,8 +13,6 @@ use std::num::FromPrimitive;
use std::vec::Vec;
use std::c_vec::CVec;
mod flags;
#[allow(non_camel_case_types)]
pub mod ll {
-2
View File
@@ -1,8 +1,6 @@
use std::cast;
use std::str;
mod flags;
// Setup linking for all targets.
#[cfg(target_os="macos")]
mod mac {
-2
View File
@@ -6,8 +6,6 @@ use libc::c_int;
use pixels;
use rwops;
mod flags;
#[allow(non_camel_case_types)]
pub mod ll {
use pixels::ll::SDL_PixelFormat;
-2
View File
@@ -11,8 +11,6 @@ use std::num::FromPrimitive;
use get_error;
mod flags;
#[allow(non_camel_case_types)]
pub mod ll {
use rect::Rect;