summaryrefslogtreecommitdiffstats
path: root/Affinity.h
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2020-08-18 17:41:49 +1000
committerNathan Scott <nathans@redhat.com>2020-08-18 17:41:49 +1000
commit7ac1c709b727bd460889f2765db9e2a37535ef90 (patch)
tree02a76cefab54370e77dbeb9888f5f223d7515eb0 /Affinity.h
parent579995c7c2385b844d81b2508710dcbbe9b0d64f (diff)
Re-generate all headers with latest scripts/MakeHeader.py
Sync-up missing extern declarations for many functions.
Diffstat (limited to 'Affinity.h')
-rw-r--r--Affinity.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/Affinity.h b/Affinity.h
index fd2c599e..818b905e 100644
--- a/Affinity.h
+++ b/Affinity.h
@@ -29,23 +29,23 @@ typedef struct Affinity_ {
} Affinity;
-Affinity* Affinity_new(ProcessList* pl);
+extern Affinity* Affinity_new(ProcessList* pl);
-void Affinity_delete(Affinity* this);
+extern void Affinity_delete(Affinity* this);
-void Affinity_add(Affinity* this, int id);
+extern void Affinity_add(Affinity* this, int id);
#ifdef HAVE_LIBHWLOC
-Affinity* Affinity_get(Process* proc, ProcessList* pl);
+extern Affinity* Affinity_get(Process* proc, ProcessList* pl);
-bool Affinity_set(Process* proc, Affinity* this);
+extern bool Affinity_set(Process* proc, Affinity* this);
#elif HAVE_LINUX_AFFINITY
-Affinity* Affinity_get(Process* proc, ProcessList* pl);
+extern Affinity* Affinity_get(Process* proc, ProcessList* pl);
-bool Affinity_set(Process* proc, Affinity* this);
+extern bool Affinity_set(Process* proc, Affinity* this);
#endif

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