1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2025-04-21 18:03:02 -04:00
picom/src/rtkit.h
Yuxuan Shui a813091fb4
misc: fix/silence a bunch of linter warnings
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-10-14 15:45:31 +01:00

22 lines
390 B
C

// SPDX-License-Identifier: MPL-2.0
// Copyright (c) Yuxuan Shui <yshuiv7@gmail.com>
#pragma once
#include <stdbool.h>
#include <sys/types.h>
#include "compiler.h"
#ifdef CONFIG_DBUS
#include <dbus/dbus.h>
bool rtkit_make_realtime(long thread, int priority);
#else
static inline bool rtkit_make_realtime(pid_t thread attr_unused, int priority attr_unused) {
return false;
}
#endif