summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Affinity.h8
1 files changed, 1 insertions, 7 deletions
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);