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> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32900 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
parent
d93531bcc8
commit
fa40e82270
|
@ -701,7 +701,7 @@ static void pass0(FILE *fil, struct device *ptr, struct device *next)
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue