about summary refs log tree commit diff
path: root/elf/tst-auditmod6b.c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2011-12-23 11:19:53 -0500
committerUlrich Drepper <drepper@gmail.com>2011-12-23 11:19:53 -0500
commit2b2596b1e94d9d51bd8febe81b759fa45a62e3cb (patch)
tree19c383c69d5cbb15696f0e8740703ad562abb888 /elf/tst-auditmod6b.c
parentaebefeee8fb62e2bbc5f4fa4f6345a2a3c8e857a (diff)
downloadglibc-2b2596b1e94d9d51bd8febe81b759fa45a62e3cb.tar.gz
glibc-2b2596b1e94d9d51bd8febe81b759fa45a62e3cb.tar.xz
glibc-2b2596b1e94d9d51bd8febe81b759fa45a62e3cb.zip
Add missing inline keyword
According to http://gcc.gnu.org/ml/gcc-patches/2011-09/msg00608.html,
a function without `inline' with an `always_inline' attribute is a bug.
Diffstat (limited to 'elf/tst-auditmod6b.c')
-rw-r--r--elf/tst-auditmod6b.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/tst-auditmod6b.c b/elf/tst-auditmod6b.c
index f756b50227..a7a60b9927 100644
--- a/elf/tst-auditmod6b.c
+++ b/elf/tst-auditmod6b.c
@@ -108,7 +108,7 @@ la_symbind64 (Elf64_Sym *sym, unsigned int ndx, uintptr_t *refcook,
 
 static int avx = -1;
 
-static int
+static inline int
 __attribute ((always_inline))
 check_avx (void)
 {