Skip to content

Commit 36b98a8

Browse files
LGFaewezm
authored andcommitted
std::os::raw::* -> core::ffi::*, as recommended
1 parent 53eef6a commit 36b98a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fontconfig-sys/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#![allow(non_camel_case_types)]
99
#![allow(non_snake_case)]
1010

11-
use std::os::raw::{c_char, c_double, c_int, c_uchar, c_uint, c_ushort, c_void};
11+
use core::ffi::{c_char, c_double, c_int, c_uchar, c_uint, c_ushort, c_void};
1212

1313
pub use dlib::ffi_dispatch;
1414

fontconfig/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ use sys::statics::{LIB, LIB_RESULT};
5454
#[cfg(not(feature = "dlopen"))]
5555
use sys::*;
5656

57+
use core::ffi::c_char;
5758
use std::ffi::{c_int, CStr, CString};
5859
use std::marker::PhantomData;
5960
use std::mem;
60-
use std::os::raw::c_char;
6161
use std::path::PathBuf;
6262
use std::ptr;
6363
use std::str::FromStr;

0 commit comments

Comments
 (0)