summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorWilly Tarreau <w@1wt.eu>2023-04-02 11:13:56 +0300
committerPaul E. McKenney <paulmck@kernel.org>2023-06-09 21:33:04 +0300
commitaa662d127e651df6e51d710014d7eb4c2a3049f5 (patch)
treee6cbc18acf5791f53349a2fd8c4ef336ef4a067d /tools/perf/scripts/python/export-to-sqlite.py
parente7654c3fbdb348a0c54244015d97f0a0b8773b8c (diff)
downloadlinux-aa662d127e651df6e51d710014d7eb4c2a3049f5.tar.xz
tools/nolibc: tests: fix build on non-c99 compliant compilers
Commit 9735716830f2 ("tools/nolibc: tests: add test for -fstack-protector") brought a declaration inside the initialization statement of a for loop, which breaks the build on compilers that do not default to c99 compatibility, making it more difficult to validate that the lib still builds on such compilers. The fix is trivial, so let's move the declaration to the variables block of the function instead. No backport is needed. Cc: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Willy Tarreau <w@1wt.eu> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions