summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Bilka <neleai@seznam.cz>2013-06-08 20:03:24 +0200
committerOndrej Bilka <neleai@seznam.cz>2013-06-08 20:03:24 +0200
commite3f36662eefae747e1e4ae55d95e5bab532d5cf1 (patch)
tree54f4faea54e293a758eba969cd2e7110cf14f894
parent4902d2c3f7a9b18e2a2489d7098e70f1881f2db2 (diff)
downloadglibc-e3f36662eefae747e1e4ae55d95e5bab532d5cf1.tar.gz
Silence warning: __inline is not at beginning of declaration.
-rw-r--r--nptl/ChangeLog4
-rw-r--r--nptl/sysdeps/pthread/allocalim.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 03028584a7..0c666b9b39 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,7 @@
+2013-08-06 Ondřej Bílka <neleai@seznam.cz>
+
+ * sysdeps/pthread/allocalim.h: (__libc_use_alloca): Fix warning.
+
2013-06-06 Ondřej Bílka <neleai@seznam.cz>
* tst-cond22.c: Fix leading whitespaces.
diff --git a/nptl/sysdeps/pthread/allocalim.h b/nptl/sysdeps/pthread/allocalim.h
index 1ccd387ce4..2af2823317 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)