From: Emil Velikov Date: Sat, 7 Sep 2024 00:15:04 +0000 (+0100) Subject: tools: add trailing comma for multi-line enums X-Git-Tag: v34~405 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35f5a02ceef019d4e05862dca1b159e4263eeb21;p=thirdparty%2Fkmod.git tools: add trailing comma for multi-line enums ... 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 Link: https://github.com/kmod-project/kmod/pull/114 Signed-off-by: Lucas De Marchi --- diff --git a/tools/depmod.c b/tools/depmod.c index 06e72eea..d177646b 100644 --- a/tools/depmod.c +++ b/tools/depmod.c @@ -407,7 +407,7 @@ struct cfg_override { enum search_type { SEARCH_PATH, SEARCH_BUILTIN, - SEARCH_EXTERNAL + SEARCH_EXTERNAL, }; struct cfg_search {