summaryrefslogtreecommitdiff
path: root/lib/libpthread/include/pthread_np.h
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>2004-01-26 20:50:03 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>2004-01-26 20:50:03 +0000
commit0af4082840f7323ba99c64e82ca3c21264b4fcd1 (patch)
treeab9d006d0c7641a0d79e6124774104a4020e769e /lib/libpthread/include/pthread_np.h
parent6fcd23c3fb1f229e074ed244419f9fbcacd32de6 (diff)
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/pthread_np.h')
-rw-r--r--lib/libpthread/include/pthread_np.h4
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);