Merge identical ifdefs in Affinity.h

This commit is contained in:
Hugo Musso Gualandi 2020-09-12 19:18:23 -03:00
parent 5ad3c11eaa
commit a2ef400e43
1 changed files with 1 additions and 7 deletions

View File

@ -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);