diff --git a/kunai-common/src/bpf_events.rs b/kunai-common/src/bpf_events.rs index 6b68fca..4994e72 100644 --- a/kunai-common/src/bpf_events.rs +++ b/kunai-common/src/bpf_events.rs @@ -12,7 +12,6 @@ not_bpf_target_code! { bpf_target_code! { mod bpf; - pub use bpf::*; } mod events; diff --git a/kunai-common/src/buffer.rs b/kunai-common/src/buffer.rs index 691ca57..7d25a67 100644 --- a/kunai-common/src/buffer.rs +++ b/kunai-common/src/buffer.rs @@ -9,7 +9,6 @@ not_bpf_target_code! { bpf_target_code! { mod bpf; - pub use bpf::*; } #[repr(C)] diff --git a/kunai-common/src/cgroup.rs b/kunai-common/src/cgroup.rs index adfa94d..71e882c 100644 --- a/kunai-common/src/cgroup.rs +++ b/kunai-common/src/cgroup.rs @@ -3,12 +3,11 @@ use kunai_macros::BpfError; not_bpf_target_code! { mod user; - + } bpf_target_code! { mod bpf; - pub use bpf::*; } const CGROUP_PATH_MAX: usize = 128; diff --git a/kunai-common/src/net.rs b/kunai-common/src/net.rs index e62cf0a..ae8e00f 100644 --- a/kunai-common/src/net.rs +++ b/kunai-common/src/net.rs @@ -8,7 +8,6 @@ not_bpf_target_code! { bpf_target_code! { mod bpf; - pub use bpf::*; } #[repr(C)] diff --git a/kunai-common/src/path.rs b/kunai-common/src/path.rs index dd1f476..7b784bb 100644 --- a/kunai-common/src/path.rs +++ b/kunai-common/src/path.rs @@ -16,7 +16,6 @@ not_bpf_target_code! { bpf_target_code! { mod bpf; - pub use bpf::*; } // for path resolution diff --git a/kunai-common/src/string.rs b/kunai-common/src/string.rs index 2a586a2..199fe08 100644 --- a/kunai-common/src/string.rs +++ b/kunai-common/src/string.rs @@ -12,7 +12,6 @@ not_bpf_target_code! { bpf_target_code! { mod bpf; - pub use bpf::*; } #[repr(C)] diff --git a/kunai-common/src/uuid.rs b/kunai-common/src/uuid.rs index 38ca1c9..1bf9db8 100644 --- a/kunai-common/src/uuid.rs +++ b/kunai-common/src/uuid.rs @@ -2,12 +2,11 @@ use crate::macros::{bpf_target_code, not_bpf_target_code}; not_bpf_target_code! { mod user; - + } bpf_target_code! { mod bpf; - pub use bpf::*; } #[repr(C)]