summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/forward.c
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2007-01-11 22:39:13 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2007-01-11 22:39:13 +0000
commitc8141d994e34babad60b3bb13f3b96636ce4d563 (patch)
tree483dd165228f95400d6dfb48cedbb7f4e49058e5 /libpthread/linuxthreads/forward.c
parent3560961878b15be5ecad9cb0ea61cfb17f1da990 (diff)
Peter Mazinger pointed out that my last commit was faulty.
This should fix it.
Diffstat (limited to 'libpthread/linuxthreads/forward.c')
-rw-r--r--libpthread/linuxthreads/forward.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libpthread/linuxthreads/forward.c b/libpthread/linuxthreads/forward.c
index 9ce119849..2cd019651 100644
--- a/libpthread/linuxthreads/forward.c
+++ b/libpthread/linuxthreads/forward.c
@@ -17,11 +17,13 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#include <dlfcn.h>
+#include <features.h>
#include <stdlib.h>
+#include <dlfcn.h>
/* psm: keep this before internals.h */
libc_hidden_proto(exit)
+
#include "internals.h"
/* Pointers to the libc functions. */
@@ -129,7 +131,6 @@ strong_alias(pthread_mutex_trylock, __pthread_mutex_trylock)
FORWARD (pthread_mutex_unlock, (pthread_mutex_t *mutex), (mutex), 0)
strong_alias(pthread_mutex_unlock, __pthread_mutex_unlock)
-
FORWARD2 (pthread_self, pthread_t, (void), (), return 0)
@@ -139,5 +140,7 @@ FORWARD (pthread_setcancelstate, (int state, int *oldstate), (state, oldstate),
FORWARD (pthread_setcanceltype, (int type, int *oldtype), (type, oldtype), 0)
FORWARD2 (_pthread_cleanup_push, void, (struct _pthread_cleanup_buffer * buffer, void (*routine)(void *), void * arg), (buffer, routine, arg), return)
+FORWARD2 (_pthread_cleanup_push_defer, void, (struct _pthread_cleanup_buffer * buffer, void (*routine)(void *), void * arg), (buffer, routine, arg), return)
FORWARD2 (_pthread_cleanup_pop, void, (struct _pthread_cleanup_buffer * buffer, int execute), (buffer, execute), return)
+FORWARD2 (_pthread_cleanup_pop_restore, void, (struct _pthread_cleanup_buffer * buffer, int execute), (buffer, execute), return)