mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-23 18:12:00 -06:00
rust: replace c_str! with c"" literals
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
b134a09ffa
commit
f117857b39
12 changed files with 32 additions and 107 deletions
|
@ -7,9 +7,7 @@
|
|||
//! This library implements a device model for the IA-PC HPET (High
|
||||
//! Precision Event Timers) device in QEMU.
|
||||
|
||||
use qemu_api::c_str;
|
||||
|
||||
pub mod fw_cfg;
|
||||
pub mod hpet;
|
||||
|
||||
pub const TYPE_HPET: &::std::ffi::CStr = c_str!("hpet");
|
||||
pub const TYPE_HPET: &::std::ffi::CStr = c"hpet";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue