diff options
author | Randy MacLeod <Randy.MacLeod@windriver.com> | 2018-10-22 00:21:16 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-10-25 14:53:44 +0100 |
commit | 1c03ada82de69a7f04ebb191fa560c02a2d29ea7 (patch) | |
tree | 87216dc110f6c7d643d29b30ddd02ee393620c0c /scripts/gen-site-config | |
parent | 60bdb3d6a18e2d136df3590f04df55a9a3a045f9 (diff) | |
download | poky-1c03ada82de69a7f04ebb191fa560c02a2d29ea7.tar.gz |
valgrind: Make local functions static to avoid assembler error
Avoid mips32 x-compiler warnings such as:
| ../../../valgrind-3.14.0/helgrind/tests/annotate_hbefore.c:360:6: warning: no previous prototype for 'do_signal' [-Wmissing-prototypes]
| void do_signal ( UWord* w )
| ^~~~~~~~~
by making functions and global variables that are file scope be static
and more importantly also avoid an assembler error:
/tmp/cce22iiw.s: Assembler messages:
/tmp/cce22iiw.s:446: Error: symbol `exit_0' is already defined
/tmp/cce22iiw.s:448: Error: symbol `exit' is already defined
/tmp/cce22iiw.s:915: Error: symbol `exit_0' is already defined
/tmp/cce22iiw.s:917: Error: symbol `exit' is already defined
(From OE-Core rev: 5fface331c46b809c10b4f3d65904534d6933896)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/gen-site-config')
0 files changed, 0 insertions, 0 deletions