Add comments to the two parts where clang-format is off

This commit is contained in:
Marc Di Luzio 2019-06-01 11:18:08 +01:00
parent 702407595a
commit e9ab20be60
2 changed files with 2 additions and 0 deletions

View File

@ -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,

View File

@ -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),