From f4959d5da426ec154fe56abeb3a7c78d0d80af81 Mon Sep 17 00:00:00 2001 From: Orestis Floros Date: Tue, 19 Sep 2023 22:15:04 +0200 Subject: Update to clang-format-15 --- .github/workflows/main.yml | 4 ++-- src/load_layout.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d711f0f5..8578678d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -84,8 +84,8 @@ jobs: run: ./release-notes/generator.pl - name: Install dependencies run: | - sudo apt-get install -y clang-format-14 + sudo apt-get install -y clang-format-15 - name: Check formatting - run: clang-format-14 --dry-run --Werror $(git ls-files '*.c' '*.h') + run: clang-format-15 --dry-run --Werror $(git ls-files '*.c' '*.h') - name: Verify safe wrapper functions are used run: ./travis/check-safe-wrappers.sh diff --git a/src/load_layout.c b/src/load_layout.c index 053649d0..edcd50e9 100644 --- a/src/load_layout.c +++ b/src/load_layout.c @@ -40,7 +40,7 @@ static int num_marks; struct pending_marks { char *mark; Con *con_to_be_marked; -} * marks; +} *marks; /* This list is used for reordering the focus stack after parsing the 'focus' * array. */ -- cgit v1.2.3-54-g00ecf