HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/32900
Change subject: util/sconfig: Move 'static' at beginning of declaration ......................................................................
util/sconfig: Move 'static' at beginning of declaration
When using -Werror=old-style-declaration, gcc reports an error: "'static' is not at beginning of declaration"
Tested on 945G-M4 board.
Change-Id: I7216a4fab2d5878066c871166e6a481d1f201a9d Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M util/sconfig/main.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/00/32900/1
diff --git a/util/sconfig/main.c b/util/sconfig/main.c index c3aa17f..548063f 100644 --- a/util/sconfig/main.c +++ b/util/sconfig/main.c @@ -701,7 +701,7 @@ return; }
- fprintf(fil, "DEVTREE_CONST static struct device %s;\n", ptr->name); + fprintf(fil, "static DEVTREE_CONST struct device %s;\n", ptr->name); if (ptr->res) fprintf(fil, "DEVTREE_CONST struct resource %s_res[];\n", ptr->name);