mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-06 07:37:21 +02:00
Add comments to the two parts where clang-format is off
This commit is contained in:
parent
702407595a
commit
e9ab20be60
@ -602,6 +602,7 @@ int game_mode_context_query_status(GameModeContext *self, pid_t client, pid_t re
|
||||
*/
|
||||
static GameModeClient *game_mode_client_new(pid_t pid, char *executable)
|
||||
{
|
||||
/* This bit seems to be formatted differently by different clang-format versions */
|
||||
/* clang-format off */
|
||||
GameModeClient c = {
|
||||
.next = NULL,
|
||||
|
@ -216,6 +216,7 @@ static int method_refresh_config(sd_bus_message *m, void *userdata,
|
||||
/**
|
||||
* D-BUS vtable to dispatch virtual methods
|
||||
*/
|
||||
/* This bit seems to be formatted differently by different clang-format versions */
|
||||
/* clang-format off */
|
||||
static const sd_bus_vtable gamemode_vtable[] = {
|
||||
SD_BUS_VTABLE_START(0),
|
||||
|
Loading…
x
Reference in New Issue
Block a user