about summary refs log tree commit diff
path: root/locale/programs/locfile.h
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.vnet.ibm.com>2014-12-11 17:03:37 +0100
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>2014-12-11 17:04:40 +0100
commit40e53917ea9e92ac14ada7bf177f419e5c0855ef (patch)
tree63511f42e83fd391c0990cb8f4c63c61a87f2bef /locale/programs/locfile.h
parent1ea166df67e4fa6b62fa3fa1ca03a990d0f45eba (diff)
downloadglibc-40e53917ea9e92ac14ada7bf177f419e5c0855ef.tar.gz
glibc-40e53917ea9e92ac14ada7bf177f419e5c0855ef.tar.xz
glibc-40e53917ea9e92ac14ada7bf177f419e5c0855ef.zip
Get rid of warning inlining failed in call to maybe_swap_uint32
Diffstat (limited to 'locale/programs/locfile.h')
-rw-r--r--locale/programs/locfile.h3
1 files changed, 2 insertions, 1 deletions
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;