style: fix clang-format

This commit is contained in:
Vaxry
2024-07-13 12:36:29 +02:00
parent 7486576fa7
commit 13bc7e1e14
9 changed files with 19 additions and 30 deletions

View File

@@ -649,13 +649,9 @@ void matrixProjection(float mat[9], int w, int h, wl_output_transform tr) {
int64_t getPPIDof(int64_t pid) {
#if defined(KERN_PROC_PID)
int mib[] = {
CTL_KERN,
KERN_PROC,
KERN_PROC_PID,
(int)pid,
CTL_KERN, KERN_PROC, KERN_PROC_PID, (int)pid,
#if defined(__NetBSD__) || defined(__OpenBSD__)
sizeof(KINFO_PROC),
1,
sizeof(KINFO_PROC), 1,
#endif
};
u_int miblen = sizeof(mib) / sizeof(mib[0]);