diff options
Diffstat (limited to 'libc/ci/style.rs')
-rw-r--r-- | libc/ci/style.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/ci/style.rs b/libc/ci/style.rs index 747e26c..481f57f 100644 --- a/libc/ci/style.rs +++ b/libc/ci/style.rs @@ -144,6 +144,9 @@ fn check_style(file: &str, path: &Path, err: &mut Errors) { let line = if is_pub {&line[4..]} else {line}; let line_state = if line.starts_with("use ") { + if line.contains("c_void") { + continue; + } if is_pub { State::Modules } else { |