summaryrefslogtreecommitdiffstats
path: root/darwin/DarwinProcessList.h
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-11-17 15:10:44 +0100
committercgzones <cgzones@googlemail.com>2020-11-17 21:50:38 +0100
commite3af8d0d0851dd6ce25446a7f9a99e2127795a78 (patch)
treee3e1fc01595798128a36c296d974289c9edfdffe /darwin/DarwinProcessList.h
parentba2d59020d7b57ecc5a955f0a8e3e7e5c2a2963d (diff)
DarwinProcessList: mark local functions static and sort includes
Diffstat (limited to 'darwin/DarwinProcessList.h')
-rw-r--r--darwin/DarwinProcessList.h25
1 files changed, 3 insertions, 22 deletions
diff --git a/darwin/DarwinProcessList.h b/darwin/DarwinProcessList.h
index bdcbb183..1ae2f2b9 100644
--- a/darwin/DarwinProcessList.h
+++ b/darwin/DarwinProcessList.h
@@ -7,21 +7,12 @@ Released under the GNU GPLv2, see the COPYING file
in the source distribution for its full text.
*/
-struct kern;
-
-void GetKernelVersion(struct kern* k);
-
-/* compare the given os version with the one installed returns:
-0 if equals the installed version
-positive value if less than the installed version
-negative value if more than the installed version
-*/
-int CompareKernelVersion(short int major, short int minor, short int component);
+#include <mach/mach_host.h>
+#include <sys/sysctl.h>
#include "ProcessList.h"
#include "zfs/ZfsArcStats.h"
-#include <mach/mach_host.h>
-#include <sys/sysctl.h>
+
typedef struct DarwinProcessList_ {
ProcessList super;
@@ -37,16 +28,6 @@ typedef struct DarwinProcessList_ {
ZfsArcStats zfs;
} DarwinProcessList;
-void ProcessList_getHostInfo(host_basic_info_data_t* p);
-
-void ProcessList_freeCPULoadInfo(processor_cpu_load_info_t* p);
-
-unsigned ProcessList_allocateCPULoadInfo(processor_cpu_load_info_t* p);
-
-void ProcessList_getVMStats(vm_statistics_t p);
-
-struct kinfo_proc* ProcessList_getKInfoProcs(size_t* count);
-
ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidMatchList, uid_t userId);
void ProcessList_delete(ProcessList* this);

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