diff options
author | Ulrich Drepper <drepper@gmail.com> | 2012-01-10 19:02:21 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2012-01-10 19:02:21 -0500 |
commit | 356fa562ec9ac9cb16719396e85ddd044b3c6ebc (patch) | |
tree | 22cb286524cbbd24f2e33068036d91d2f49953f1 /nptl/sysdeps/pthread | |
parent | a0bfc9c78fcd26f81c62ac34f9085b6319a8099b (diff) | |
download | glibc-356fa562ec9ac9cb16719396e85ddd044b3c6ebc.tar.gz glibc-356fa562ec9ac9cb16719396e85ddd044b3c6ebc.tar.xz glibc-356fa562ec9ac9cb16719396e85ddd044b3c6ebc.zip |
Consistently added return to pthread_exit
Diffstat (limited to 'nptl/sysdeps/pthread')
-rw-r--r-- | nptl/sysdeps/pthread/pthread-functions.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/sysdeps/pthread/pthread-functions.h b/nptl/sysdeps/pthread/pthread-functions.h index 15a4dff142..5d77cb71d4 100644 --- a/nptl/sysdeps/pthread/pthread-functions.h +++ b/nptl/sysdeps/pthread/pthread-functions.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2003, 2004, 2005, 2006, 2007, 2011 Free Software Foundation, Inc. +/* Copyright (C) 2003-2007, 2011, 2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@redhat.com>, 2003. @@ -66,7 +66,7 @@ struct pthread_functions pthread_mutex_t *, const struct timespec *); int (*ptr_pthread_equal) (pthread_t, pthread_t); - void (*ptr___pthread_exit) (void *); + void (*ptr___pthread_exit) (void *) __attribute__ ((__noreturn__)); int (*ptr_pthread_getschedparam) (pthread_t, int *, struct sched_param *); int (*ptr_pthread_setschedparam) (pthread_t, int, const struct sched_param *); |