Chore: IndentPPDirectives: BeforeHash [ci skip]

This commit is contained in:
李通洲
2026-04-15 16:16:46 +08:00
parent b63bd5b8c9
commit abc6c0593c
133 changed files with 1329 additions and 1329 deletions
+4 -4
View File
@@ -7,17 +7,17 @@
#include <stdlib.h>
#if __OpenBSD__ || __NetBSD__
# include <sys/sched.h>
#include <sys/sched.h>
#endif
const char* ffGetCpuUsageInfo(FFlist* cpuTimes) {
size_t neededLength = 0;
#if __OpenBSD__ || __NetBSD__
# ifdef KERN_CPTIME
#ifdef KERN_CPTIME
int ctls[] = { CTL_KERN, KERN_CPTIME };
# else
#else
int ctls[] = { CTL_KERN, KERN_CP_TIME };
# endif
#endif
if (sysctl(ctls, 2, NULL, &neededLength, NULL, 0) != 0) {
return "sysctl({CTL_KERN, KERN_CPTIME}, 2, NULL) failed";
}