]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
tools: add trailing comma for multi-line enums
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 7 Sep 2024 00:15:04 +0000 (01:15 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Sat, 7 Sep 2024 15:13:51 +0000 (10:13 -0500)
... otherwise the upcoming clang-format will try to fold them on single
line, making the end result far from ideal.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/114
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
tools/depmod.c

index 06e72eea36e68c67875b129bf23e4016a5e2c3ef..d177646b97fcf700d6f3d9305a3255165ab8b511 100644 (file)
@@ -407,7 +407,7 @@ struct cfg_override {
 enum search_type {
        SEARCH_PATH,
        SEARCH_BUILTIN,
-       SEARCH_EXTERNAL
+       SEARCH_EXTERNAL,
 };
 
 struct cfg_search {