aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOrestis Floros <orestisflo@gmail.com>2023-09-19 22:15:04 +0200
committerMichael Stapelberg <stapelberg@users.noreply.github.com>2023-09-21 18:55:01 +0200
commitf4959d5da426ec154fe56abeb3a7c78d0d80af81 (patch)
treea2d25cbf096502eafd5b5843c04a5ac8fa42c99a
parentbffa4a543c492f8bc6121143b7342d1488ff5fa0 (diff)
downloadi3-f4959d5da426ec154fe56abeb3a7c78d0d80af81.tar.gz
i3-f4959d5da426ec154fe56abeb3a7c78d0d80af81.zip
Update to clang-format-15
-rw-r--r--.github/workflows/main.yml4
-rw-r--r--src/load_layout.c2
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. */