summaryrefslogtreecommitdiff
path: root/libpthread/nptl/pthread_create.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-20 02:38:48 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:29 +0200
commite9af4dfbd328e9f3bba235fdb2d1027dd2dbbcde (patch)
tree809a8b87c681a241920f31b6a72ec572fe1d0058 /libpthread/nptl/pthread_create.c
parent293173f87072bbc0cafc457d5d8a6039f4d1d259 (diff)
fix a bunch of build warnings
Added attribute_noreturn even if it has return at the end of function Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libpthread/nptl/pthread_create.c')
-rw-r--r--libpthread/nptl/pthread_create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/nptl/pthread_create.c b/libpthread/nptl/pthread_create.c
index b3bf47530..695d1a97d 100644
--- a/libpthread/nptl/pthread_create.c
+++ b/libpthread/nptl/pthread_create.c
@@ -221,7 +221,7 @@ __free_tcb (struct pthread *pd)
}
-static int
+static int attribute_noreturn
start_thread (void *arg)
{
struct pthread *pd = (struct pthread *) arg;