diff options
author | Thomas Haller <thaller@redhat.com> | 2022-11-19 11:14:07 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2022-11-23 09:17:21 +0100 |
commit | 3fb8c0f614ab0cb3da649e6ca275abfa7ffc9a34 (patch) | |
tree | d5a20facdf4b44dcedb60d199498cf3f6eb18298 /src/nm-dispatcher | |
parent | fe7bea96856ce72c06cd3ae7ae0ce650b10db011 (diff) | |
download | NetworkManager-3fb8c0f614ab0cb3da649e6ca275abfa7ffc9a34.tar.gz |
clang-format: reformat code with clang-format 15.0.4-1.fc37
This is the version shipped in Fedora 37. As Fedora 37 is now out, the
core developers switch to it. Our gitlab-ci will also use that as base
image for the check-{patch.tree} tests and to generate the pages. There
is a need that everybody agrees on which clang-format version to use,
and that version should be the one of the currently used Fedora release.
Also update the used Fedora image in "contrib/scripts/nm-code-format-container.sh"
script.
The gitlab-ci still needs update in the following commit. The change
in isolation will break the "check-tree" test.
Diffstat (limited to 'src/nm-dispatcher')
-rw-r--r-- | src/nm-dispatcher/nm-dispatcher.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/nm-dispatcher/nm-dispatcher.c b/src/nm-dispatcher/nm-dispatcher.c index b6fc941af7..80fe40a0d6 100644 --- a/src/nm-dispatcher/nm-dispatcher.c +++ b/src/nm-dispatcher/nm-dispatcher.c @@ -1138,25 +1138,25 @@ _initial_setup(int *p_argc, char ***p_argv, GError **error) GOptionContext *opt_ctx; gboolean arg_debug = FALSE; GOptionEntry entries[] = {{ - "debug", - 0, - 0, - G_OPTION_ARG_NONE, - &arg_debug, - "Output to console rather than syslog", - NULL, + "debug", + 0, + 0, + G_OPTION_ARG_NONE, + &arg_debug, + "Output to console rather than syslog", + NULL, }, { - "persist", - 0, - 0, - G_OPTION_ARG_NONE, - &gl.persist, - "Don't quit after a short timeout", - NULL, + "persist", + 0, + 0, + G_OPTION_ARG_NONE, + &gl.persist, + "Don't quit after a short timeout", + NULL, }, { - NULL, + NULL, }}; gboolean success; |