Get rid of warning inlining failed in call to maybe_swap_uint32

This commit is contained in:
Stefan Liebler 2014-12-11 17:03:37 +01:00 committed by Andreas Krebbel
parent 1ea166df67
commit 40e53917ea
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
* locale/programs/locfile.h (maybe_swap_uint32):
Remove inline and add unused attribute.
2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):

View File

@ -81,7 +81,8 @@ set_big_endian (bool big_endian)
/* Munge VALUE so that, when stored, it has the correct byte order
for the output files. */
static inline uint32_t
static uint32_t
__attribute__ ((unused))
maybe_swap_uint32 (uint32_t value)
{
return swap_endianness_p ? bswap_32 (value) : value;