diff options
author | bje <bje> | 1998-09-12 07:59:34 +0000 |
---|---|---|
committer | bje <bje> | 1998-09-12 07:59:34 +0000 |
commit | b63e40988fde13ccd11dea845bd9008c56b21cdb (patch) | |
tree | e2db70ba088ec35c71c59781551775c4847ac0f0 /cleanup.c | |
parent | bebf4fe4f6ae3d8296a6b9144876d08e5de2261a (diff) |
1998-09-12 Ben Elliston <bje@cygnus.com>
* {most}.c: Include <errno.h> to get POSIX error values.
* signal.c (pthread_sigmask): Only provide if HAVE_SIGSET_T is
defined.
* config.h: #undef features, don't #define them. This will be
generated by autoconf very soon.
Diffstat (limited to 'cleanup.c')
-rw-r--r-- | cleanup.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -6,6 +6,8 @@ * threads. */ +#include <errno.h> + #include <malloc.h> #include "pthread.h" #include "implement.h" @@ -29,7 +31,7 @@ _pthread_handler_push(int stack, if (new_thread == NULL) { - return ENOMEM; + return 0; /* NOMEM */ } new_thread->routine = routine; |