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);
|
||||
|
||||
#ifdef HAVE_LIBHWLOC
|
||||
|
||||
Affinity* Affinity_get(Process* proc, ProcessList* pl);
|
||||
|
||||
bool Affinity_set(Process* proc, Arg arg);
|
||||
|
||||
#elif HAVE_LINUX_AFFINITY
|
||||
#if defined(HAVE_LIBHWLOC) || defined(HAVE_LINUX_AFFINITY)
|
||||
|
||||
Affinity* Affinity_get(Process* proc, ProcessList* pl);
|
||||
|
||||
|
|
Loading…
Reference in New Issue