From e9ab20be6078dd1da8f05c04e5b9adfb95f970a7 Mon Sep 17 00:00:00 2001 From: Marc Di Luzio Date: Sat, 1 Jun 2019 11:18:08 +0100 Subject: [PATCH] Add comments to the two parts where clang-format is off --- daemon/gamemode-context.c | 1 + daemon/gamemode-dbus.c | 1 + 2 files changed, 2 insertions(+) diff --git a/daemon/gamemode-context.c b/daemon/gamemode-context.c index cb075b4..3671b6c 100644 --- a/daemon/gamemode-context.c +++ b/daemon/gamemode-context.c @@ -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, diff --git a/daemon/gamemode-dbus.c b/daemon/gamemode-dbus.c index 5db544b..847ad5d 100644 --- a/daemon/gamemode-dbus.c +++ b/daemon/gamemode-dbus.c @@ -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),