diff options
author | 2003-02-27 07:03:21 +0000 | |
---|---|---|
committer | 2003-02-27 07:03:21 +0000 | |
commit | 5d614160320acfd78bfac63161b2ccdaae15f2d7 (patch) | |
tree | ce50543ede63ef68a852931e8b5df89b56542232 /lib/libpthread/include | |
parent | another pass at cleaning (diff) | |
download | wireguard-openbsd-5d614160320acfd78bfac63161b2ccdaae15f2d7.tar.xz wireguard-openbsd-5d614160320acfd78bfac63161b2ccdaae15f2d7.zip |
Don't need to specify both __dead and __attribute__((__noreturn__)) for
pthread_exit prototype. Replace with just __dead.
OK millert@, marc@
Diffstat (limited to 'lib/libpthread/include')
-rw-r--r-- | lib/libpthread/include/pthread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/include/pthread.h b/lib/libpthread/include/pthread.h index 4a3f470c741..18a852dfe45 100644 --- a/lib/libpthread/include/pthread.h +++ b/lib/libpthread/include/pthread.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pthread.h,v 1.16 2002/02/17 19:42:24 millert Exp $ */ +/* $OpenBSD: pthread.h,v 1.17 2003/02/27 07:03:21 cloder Exp $ */ /* * Copyright (c) 1993, 1994 by Chris Provenzano, proven@mit.edu @@ -236,7 +236,7 @@ int pthread_create(pthread_t *, const pthread_attr_t *, void *(*start_routine) (void *), void *); int pthread_detach(pthread_t); int pthread_equal(pthread_t, pthread_t); -__dead void pthread_exit(void *) __attribute__((__noreturn__)); +__dead void pthread_exit(void *); void *pthread_getspecific(pthread_key_t); int pthread_join(pthread_t, void **); int pthread_key_create(pthread_key_t *, void (*routine)(void *)); |