summaryrefslogtreecommitdiffstats
path: root/Affinity.h
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2020-09-08 16:45:11 +1000
committerNathan Scott <nathans@redhat.com>2020-09-08 16:45:11 +1000
commiteede79b29af116bc568c7f7a1be319f0c1dfd311 (patch)
treeb271a1980e4b48a5178d60b8aed1efa6987e4e3d /Affinity.h
parent85ff6960ed5c1312f9d773e695418fdbfffd5303 (diff)
parent7758ffcdeae26f47f4ad6ec847fb8292fd5ceee3 (diff)
Merge branch 'noheadergen' of https://github.com/zevweiss/htop into zevweiss-noheadergen
Diffstat (limited to 'Affinity.h')
-rw-r--r--Affinity.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/Affinity.h b/Affinity.h
index 3c716034..8ee158d6 100644
--- a/Affinity.h
+++ b/Affinity.h
@@ -1,5 +1,3 @@
-/* Do not edit this file. It was automatically generated. */
-
#ifndef HEADER_Affinity
#define HEADER_Affinity
/*
@@ -30,23 +28,23 @@ typedef struct Affinity_ {
} Affinity;
-extern Affinity* Affinity_new(ProcessList* pl);
+Affinity* Affinity_new(ProcessList* pl);
-extern void Affinity_delete(Affinity* this);
+void Affinity_delete(Affinity* this);
-extern void Affinity_add(Affinity* this, int id);
+void Affinity_add(Affinity* this, int id);
#ifdef HAVE_LIBHWLOC
-extern Affinity* Affinity_get(Process* proc, ProcessList* pl);
+Affinity* Affinity_get(Process* proc, ProcessList* pl);
-extern bool Affinity_set(Process* proc, Arg arg);
+bool Affinity_set(Process* proc, Arg arg);
#elif HAVE_LINUX_AFFINITY
-extern Affinity* Affinity_get(Process* proc, ProcessList* pl);
+Affinity* Affinity_get(Process* proc, ProcessList* pl);
-extern bool Affinity_set(Process* proc, Arg arg);
+bool Affinity_set(Process* proc, Arg arg);
#endif

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