]> git.wh0rd.org Git - elf2flt.git/commit
elf2flt: fix unused warning for e1/bfin targets
authorMike Frysinger <vapier@gentoo.org>
Mon, 12 Dec 2016 05:35:04 +0000 (00:35 -0500)
committerMike Frysinger <vapier@gentoo.org>
Mon, 12 Dec 2016 05:35:04 +0000 (00:35 -0500)
commitbbe423fae32a16b823e0ae7f3baf40b2d137b6fb
treea5cd521c38a4a68fcf34bb519722743cf61f4537
parent34e147f45b7cb0844669df007e13ec9a092747e8
elf2flt: fix unused warning for e1/bfin targets

The one call site for this func is inside of an e1/bfin ifdef check,
so add the same logic to the definition to fix a build error:
elf2flt.c:212:1: error: ‘get_symbol_offset’ defined but not used [-Werror=unused-function]

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
elf2flt.c