diff options
author | 2003-01-31 04:46:16 +0000 | |
---|---|---|
committer | 2003-01-31 04:46:16 +0000 | |
commit | 644b0b5fa72e35c9fc7dc0abe910d822d28cf38d (patch) | |
tree | 1563377f6846d8bc600232851c9b7bae3cf5bcf8 /lib/libpthread/sys/uthread_error.c | |
parent | fetch the font and use it, some cleanup and knf (diff) | |
download | wireguard-openbsd-644b0b5fa72e35c9fc7dc0abe910d822d28cf38d.tar.xz wireguard-openbsd-644b0b5fa72e35c9fc7dc0abe910d822d28cf38d.zip |
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/uthread_error.c')
-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) { |