Fix line reordering

This commit is contained in:
GuillaumeDIDIER 2020-05-28 10:03:28 +02:00
parent 3726a2b14c
commit 80c6a556bf

View File

@ -14,8 +14,8 @@ pub enum Error {
Unimplemented, Unimplemented,
} }
#[link(name = "cpupower")]
#[cfg(all(target_os = "linux", feature = "use_std"))] #[cfg(all(target_os = "linux", feature = "use_std"))]
#[link(name = "cpupower")]
extern "C" { extern "C" {
//unsigned long cpufreq_get_freq_kernel(unsigned int cpu); //unsigned long cpufreq_get_freq_kernel(unsigned int cpu);
fn cpufreq_get_freq_kernel(cpu: c_uint) -> c_ulong; fn cpufreq_get_freq_kernel(cpu: c_uint) -> c_ulong;