aya: fix warnings

pull/1/head
Alessandro Decina 4 years ago
parent 46e0a2ede4
commit ac83273da8

@ -9,7 +9,7 @@ mod fake;
use std::convert::TryInto; use std::convert::TryInto;
use std::{ffi::CString, io, mem}; use std::{ffi::CString, io, mem};
use libc::{c_int, c_long, c_ulong, pid_t, utsname}; use libc::{c_int, c_long, pid_t, utsname};
pub(crate) use bpf::*; pub(crate) use bpf::*;
#[cfg(test)] #[cfg(test)]

@ -1,6 +1,6 @@
use std::{ffi::CString, mem}; use std::{ffi::CString, mem};
use libc::{c_int, c_ulong, pid_t}; use libc::{c_int, pid_t};
use crate::generated::{ use crate::generated::{
perf_event_attr, perf_event_attr,

Loading…
Cancel
Save