Fix line reordering
This commit is contained in:
parent
3726a2b14c
commit
80c6a556bf
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user