From 40e53917ea9e92ac14ada7bf177f419e5c0855ef Mon Sep 17 00:00:00 2001 From: Stefan Liebler Date: Thu, 11 Dec 2014 17:03:37 +0100 Subject: Get rid of warning inlining failed in call to maybe_swap_uint32 --- locale/programs/locfile.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'locale') diff --git a/locale/programs/locfile.h b/locale/programs/locfile.h index b579a4626c..dd00c0dfb2 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; -- cgit 1.4.1