From a2ef400e4354125183015700fc859300ec63c477 Mon Sep 17 00:00:00 2001 From: Hugo Musso Gualandi Date: Sat, 12 Sep 2020 19:18:23 -0300 Subject: Merge identical ifdefs in Affinity.h --- Affinity.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'Affinity.h') diff --git a/Affinity.h b/Affinity.h index 52619457..20d00470 100644 --- a/Affinity.h +++ b/Affinity.h @@ -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); -- cgit v1.2.3