summaryrefslogtreecommitdiffstats
path: root/Affinity.h
diff options
context:
space:
mode:
authorHugo Musso Gualandi <hugo_musso_gualandi@hotmail.com>2020-09-12 19:18:23 -0300
committerHugo Musso Gualandi <hugo_musso_gualandi@hotmail.com>2020-09-12 19:21:27 -0300
commita2ef400e4354125183015700fc859300ec63c477 (patch)
tree888657a6e9c13ed3e076f30ebdd759a6d401e4c7 /Affinity.h
parent5ad3c11eaad3f75b09569758e0b67d18933a6278 (diff)
Merge identical ifdefs in Affinity.h
Diffstat (limited to 'Affinity.h')
-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);

© 2014-2024 Faster IT GmbH | imprint | privacy policy