summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/include/pthread.h4
-rw-r--r--lib/libpthread/uthread/pthread_private.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/libpthread/include/pthread.h b/lib/libpthread/include/pthread.h
index bb49293c20b..c13bbc54d69 100644
--- a/lib/libpthread/include/pthread.h
+++ b/lib/libpthread/include/pthread.h
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: pthread.h,v 1.11 2000/01/06 07:06:00 d Exp $
+ * $OpenBSD: pthread.h,v 1.12 2000/12/06 17:18:47 deraadt Exp $
*
* $FreeBSD: pthread.h,v 1.13 1999/07/31 08:36:07 rse Exp $
*/
@@ -237,7 +237,7 @@ int pthread_create __P((pthread_t *, const pthread_attr_t *,
void *(*start_routine) (void *), void *));
int pthread_detach __P((pthread_t));
int pthread_equal __P((pthread_t, pthread_t));
-__dead void pthread_exit __P((void *)) __attribute__((noreturn));
+__dead void pthread_exit __P((void *)) __attribute__((__noreturn__));
void *pthread_getspecific __P((pthread_key_t));
int pthread_join __P((pthread_t, void **));
int pthread_key_create __P((pthread_key_t *,
diff --git a/lib/libpthread/uthread/pthread_private.h b/lib/libpthread/uthread/pthread_private.h
index 9cfcffd5ca2..79417040938 100644
--- a/lib/libpthread/uthread/pthread_private.h
+++ b/lib/libpthread/uthread/pthread_private.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pthread_private.h,v 1.20 2000/10/04 05:55:35 d Exp $ */
+/* $OpenBSD: pthread_private.h,v 1.21 2000/12/06 17:18:47 deraadt Exp $ */
/*
* Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>.
* All rights reserved.
@@ -823,7 +823,7 @@ void _waitq_remove(pthread_t pthread);
void _waitq_setactive(void);
void _waitq_clearactive(void);
#endif
-__dead void _thread_exit(const char *, int, const char *) __attribute__((noreturn));
+__dead void _thread_exit(const char *, int, const char *) __attribute__((__noreturn__));
void *_thread_cleanup(pthread_t);
void _thread_cleanupspecific(void);
void _thread_dump_info(void);
@@ -986,7 +986,7 @@ pid_t _thread_sys_fork(void);
pid_t _thread_sys_tcgetpgrp(int);
ssize_t _thread_sys_read(int, void *, size_t);
ssize_t _thread_sys_write(int, const void *, size_t);
-__dead void _thread_sys__exit(int) __attribute__((noreturn));
+__dead void _thread_sys__exit(int) __attribute__((__noreturn__));
#endif
/* #include <fcntl.h> */