diff options
author | Marco S Hyman <marc@cvs.openbsd.org> | 2003-01-31 04:46:18 +0000 |
---|---|---|
committer | Marco S Hyman <marc@cvs.openbsd.org> | 2003-01-31 04:46:18 +0000 |
commit | 68795d4df128d80b54c55c9e7769c34c96270983 (patch) | |
tree | 1182fb066f0927d28dfb77b60c677da68c8f63f5 /lib/libpthread/sys | |
parent | 132b289627ab477bb921ce53d385e7900cdcd50f (diff) |
Create a siginfo_t for thread-to-thread kill.
Clean up (compiler warning elimination). Compile check options added
but commented out as they have not been checked on all architectures, yet.
Diffstat (limited to 'lib/libpthread/sys')
-rw-r--r-- | lib/libpthread/sys/uthread_error.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libpthread/sys/uthread_error.c b/lib/libpthread/sys/uthread_error.c index 08740ed92ff..739d3abf347 100644 --- a/lib/libpthread/sys/uthread_error.c +++ b/lib/libpthread/sys/uthread_error.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_error.c,v 1.2 1999/11/25 07:01:30 d Exp $ */ +/* $OpenBSD: uthread_error.c,v 1.3 2003/01/31 04:46:17 marc Exp $ */ /* * Copyright (c) 1995 John Birrell <jb@cimlogic.com.au>. * Copyright (c) 1994 by Chris Provenzano, proven@mit.edu @@ -39,7 +39,8 @@ #include "pthread_private.h" extern int errno; -int * __error() +int * +__error(void) { int *p_errno; if (_thread_run == _thread_initial) { |