mirror of https://github.com/xzeldon/htop.git
Merge identical ifdefs in Affinity.h
This commit is contained in:
parent
5ad3c11eaa
commit
a2ef400e43
|
@ -24,13 +24,7 @@ void Affinity_delete(Affinity* this);
|
||||||
|
|
||||||
void Affinity_add(Affinity* this, int id);
|
void Affinity_add(Affinity* this, int id);
|
||||||
|
|
||||||
#ifdef HAVE_LIBHWLOC
|
#if defined(HAVE_LIBHWLOC) || defined(HAVE_LINUX_AFFINITY)
|
||||||
|
|
||||||
Affinity* Affinity_get(Process* proc, ProcessList* pl);
|
|
||||||
|
|
||||||
bool Affinity_set(Process* proc, Arg arg);
|
|
||||||
|
|
||||||
#elif HAVE_LINUX_AFFINITY
|
|
||||||
|
|
||||||
Affinity* Affinity_get(Process* proc, ProcessList* pl);
|
Affinity* Affinity_get(Process* proc, ProcessList* pl);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue