Skip to content

Commit

Permalink
Get rid of warning inlining failed in call to maybe_swap_uint32
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Liebler authored and Andreas Krebbel committed Dec 11, 2014
1 parent 1ea166d commit 40e5391
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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):
Expand Down
3 changes: 2 additions & 1 deletion locale/programs/locfile.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 40e5391

Please sign in to comment.