diff dep/animia/src/fd/libutil.cc @ 202:71832ffe425a

animia: re-add kvm fd source this is all being merged from my wildly out-of-date laptop. SORRY! in other news, I edited the CI file to install the wayland client as well, so the linux CI build might finally get wayland stuff.
author Paper <paper@paper.us.eu.org>
date Tue, 02 Jan 2024 06:05:06 -0500
parents bc1ae1810855
children
line wrap: on
line diff
--- a/dep/animia/src/fd/libutil.cc	Sun Nov 19 19:13:28 2023 -0500
+++ b/dep/animia/src/fd/libutil.cc	Tue Jan 02 06:05:06 2024 -0500
@@ -19,7 +19,7 @@
 		    !file.find("/proc"));
 }
 
-bool LibutilFdTools::EnumerateOpenProcesses(process_proc_t process_proc) {
+bool EnumerateOpenProcesses(process_proc_t process_proc) {
 	static const int mib[] = {CTL_KERN, KERN_PROC, KERN_PROC_ALL, 0};
 	size_t length = 0;
 
@@ -47,7 +47,7 @@
 	return true;
 }
 
-bool LibutilFdTools::EnumerateOpenFiles(const std::set<pid_t>& pids, open_file_proc_t open_file_proc) {
+bool EnumerateOpenFiles(const std::set<pid_t>& pids, open_file_proc_t open_file_proc) {
 	for (const auto& pid : pids) {
 		int cnt;
 		std::unique_ptr<struct kinfo_file[]> files;
@@ -68,4 +68,4 @@
 	return true;
 }
 
-}
\ No newline at end of file
+}