diff options
author | 2004-01-26 20:50:02 +0000 | |
---|---|---|
committer | 2004-01-26 20:50:02 +0000 | |
commit | e4f7614aa31620bc469eb18abfbe1751841d509f (patch) | |
tree | 4fa8628bf68d3269bdd3c15bb2c02397f4ce5327 /lib/libpthread/include | |
parent | Make sure, when reporting available memory to the common PowerPC code, to (diff) | |
download | wireguard-openbsd-e4f7614aa31620bc469eb18abfbe1751841d509f.tar.xz wireguard-openbsd-e4f7614aa31620bc469eb18abfbe1751841d509f.zip |
Change read_stackseg_np to work with any thread, not just the current
thread. Requested by truk at optonline dot net and OK-ed by
tedu @.
Diffstat (limited to 'lib/libpthread/include')
-rw-r--r-- | lib/libpthread/include/pthread_np.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/include/pthread_np.h b/lib/libpthread/include/pthread_np.h index 5b0b04c67da..8c695209803 100644 --- a/lib/libpthread/include/pthread_np.h +++ b/lib/libpthread/include/pthread_np.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pthread_np.h,v 1.6 2004/01/15 22:22:11 marc Exp $ */ +/* $OpenBSD: pthread_np.h,v 1.7 2004/01/26 20:50:02 marc Exp $ */ /* * Copyright (c) 1996-98 John Birrell <jb@cimlogic.com.au>. * All rights reserved. @@ -51,7 +51,7 @@ int pthread_suspend_np(pthread_t); int pthread_mutexattr_getkind_np(pthread_mutexattr_t); int pthread_mutexattr_setkind_np(pthread_mutexattr_t *, int); void pthread_set_name_np(pthread_t, char *); -int pthread_stackseg_np(struct sigaltstack *sinfo); +int pthread_stackseg_np(pthread_t, stack_t *); int pthread_switch_add_np(pthread_switch_routine_t); int pthread_switch_delete_np(pthread_switch_routine_t); int pthread_main_np(void); |