From: Stefan Liebler Date: Thu, 11 Dec 2014 16:03:37 +0000 (+0100) Subject: Get rid of warning inlining failed in call to maybe_swap_uint32 X-Git-Tag: glibc-2.21~252 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40e53917ea9e92ac14ada7bf177f419e5c0855ef;p=thirdparty%2Fglibc.git Get rid of warning inlining failed in call to maybe_swap_uint32 --- diff --git a/ChangeLog b/ChangeLog index d622ff0c48c..b00214660cc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-12-11 Stefan Liebler + + * locale/programs/locfile.h (maybe_swap_uint32): + Remove inline and add unused attribute. + 2014-12-11 Stefan Liebler sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address): diff --git a/locale/programs/locfile.h b/locale/programs/locfile.h index b579a4626c8..dd00c0dfb23 100644 --- a/locale/programs/locfile.h +++ b/locale/programs/locfile.h @@ -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;