summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorChad Loder <cloder@cvs.openbsd.org>2003-02-27 07:03:22 +0000
committerChad Loder <cloder@cvs.openbsd.org>2003-02-27 07:03:22 +0000
commit01b724c67f8cb0d1c452e8d70dd1b827b025005e (patch)
tree2b9b2e2f3dbbc4355109008385127bd59af95091 /lib/libpthread
parent09777b6797aebc550e7d21a2145eade571a14942 (diff)
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')
-rw-r--r--lib/libpthread/include/pthread.h4
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 *));