From 658fe26bf4f9e26272ed33bd1c75fcf544df6ca3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 9 Sep 2017 16:19:06 +0300 Subject: [PATCH] Fix various compiler warnings --- gstreamer-app-sys/src/lib.rs | 2 +- gstreamer-player-sys/src/lib.rs | 2 +- gstreamer-video-sys/src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gstreamer-app-sys/src/lib.rs b/gstreamer-app-sys/src/lib.rs index e12c5594f..c70fe74c6 100644 --- a/gstreamer-app-sys/src/lib.rs +++ b/gstreamer-app-sys/src/lib.rs @@ -4,7 +4,7 @@ #![allow(non_camel_case_types, non_upper_case_globals)] extern crate libc; -#[macro_use] extern crate bitflags; +extern crate bitflags; extern crate glib_sys as glib; extern crate gobject_sys as gobject; extern crate gstreamer_sys as gst; diff --git a/gstreamer-player-sys/src/lib.rs b/gstreamer-player-sys/src/lib.rs index 11e2ed402..2d9d85f38 100644 --- a/gstreamer-player-sys/src/lib.rs +++ b/gstreamer-player-sys/src/lib.rs @@ -4,7 +4,7 @@ #![allow(non_camel_case_types, non_upper_case_globals)] extern crate libc; -#[macro_use] extern crate bitflags; +extern crate bitflags; extern crate glib_sys as glib; extern crate gobject_sys as gobject; extern crate gstreamer_sys as gst; diff --git a/gstreamer-video-sys/src/lib.rs b/gstreamer-video-sys/src/lib.rs index 3f588d771..82e4f6978 100644 --- a/gstreamer-video-sys/src/lib.rs +++ b/gstreamer-video-sys/src/lib.rs @@ -1,7 +1,7 @@ // This file was generated by gir (9bd51ed) from gir-files (???) // DO NOT EDIT -#![allow(non_camel_case_types, non_upper_case_globals)] +#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals)] extern crate libc; #[macro_use] extern crate bitflags;