This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[COMMITED] Silence warning: â__inlineâ is not at beginning of declaration.
- From: OndÅej BÃlka <neleai at seznam dot cz>
- To: libc-alpha at sourceware dot org
- Date: Sat, 8 Jun 2013 20:01:47 +0200
- Subject: [COMMITED] Silence warning: â__inlineâ is not at beginning of declaration.
When I ran make 2> err I got hundreds of following:
In file included from ../include/alloca.h:21:0,
from ../stdlib/stdlib.h:492,
from ../include/stdlib.h:10,
from ../nptl/sysdeps/x86_64/tls.h:27,
from ../sysdeps/unix/sysv/linux/x86_64/sysdep.h:23,
from <stdin>:1:
../nptl/sysdeps/pthread/allocalim.h:24:1: warning: â__inlineâ is not at
beginning of declaration
The fix is simple, commited as obvious.
* sysdeps/pthread/allocalim.h: (__libc_use_alloca): Fix warning.
---
nptl/sysdeps/pthread/allocalim.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nptl/sysdeps/pthread/allocalim.h b/nptl/sysdeps/pthread/allocalim.h
index 1ccd387..2af2823 100644
--- a/nptl/sysdeps/pthread/allocalim.h
+++ b/nptl/sysdeps/pthread/allocalim.h
@@ -20,8 +20,8 @@
#include <limits.h>
-extern int
__always_inline
+extern int
__libc_use_alloca (size_t size)
{
return (__builtin_expect (size <= PTHREAD_STACK_MIN / 4, 1)
--
1.7.10.4