mirror of
https://github.com/xzeldon/htop.git
synced 2025-01-31 09:07:25 +03:00
netbsd: Remove conditional compilation of CPU frequency variables
This commit is contained in:
parent
b4884373e5
commit
72cea2881c
@ -40,16 +40,10 @@ static int pageSize;
|
||||
static int pageSizeKB;
|
||||
|
||||
static char const *freqSysctls[] = {
|
||||
#if defined(__powerpc__)
|
||||
"machdep.intrepid.frequency.current",
|
||||
#endif
|
||||
#if defined(__mips__)
|
||||
"machdep.loongson.frequency.current",
|
||||
#endif
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
"machdep.est.frequency.current",
|
||||
"machdep.powernow.frequency.current",
|
||||
#endif
|
||||
"machdep.intrepid.frequency.current",
|
||||
"machdep.loongson.frequency.current",
|
||||
"machdep.cpu.frequency.current",
|
||||
"machdep.frequency.current",
|
||||
NULL
|
||||
|
Loading…
x
Reference in New Issue
Block a user