From 2b2596b1e94d9d51bd8febe81b759fa45a62e3cb Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Fri, 23 Dec 2011 11:19:53 -0500 Subject: 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. --- elf/tst-auditmod6c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'elf/tst-auditmod6c.c') diff --git a/elf/tst-auditmod6c.c b/elf/tst-auditmod6c.c index 49cbf05492..e0b5ac2319 100644 --- a/elf/tst-auditmod6c.c +++ b/elf/tst-auditmod6c.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) { -- cgit v1.2.3