summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-02-06 11:43:24 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-02-09 09:37:07 +0100
commit359966df3721803a1e0873c98182e7280029b068 (patch)
tree1fb3ac85fc65dd73db5c683a6a3b9c7d5b835255 /common
parent2b3659b9648b26b485f13428bb3d3ccaf3517465 (diff)
downloadbarebox-359966df3721803a1e0873c98182e7280029b068.tar.gz
barebox-359966df3721803a1e0873c98182e7280029b068.tar.xz
scripts/compiler.h: inline functions in headers must be static
Without this building bareboxenv-target with gcc 7.3 fails with: CC scripts/bareboxenv-target /tmp/cc9G2oOY.o: In function `file_action': bareboxenv.c:(.text+0x14): undefined reference to `xzalloc' /tmp/cc9G2oOY.o: In function `concat_path_file': bareboxenv.c:(.text+0xf4): undefined reference to `xmalloc' /tmp/cc9G2oOY.o: In function `envfs_save': bareboxenv.c:(.text+0x5b4): undefined reference to `xzalloc' /tmp/cc9G2oOY.o: In function `envfs_load': bareboxenv.c:(.text+0x7d8): undefined reference to `xmalloc' collect2: error: ld returned 1 exit status Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions