--- src/sys/sys/ucontext.h 2006/05/20 02:42:13 1.3 +++ src/sys/sys/ucontext.h 2007/01/16 07:16:21 1.4 @@ -56,4 +56,15 @@ typedef struct __ucontext { int __spare__[8]; } ucontext_t; +#ifndef _KERNEL + +__BEGIN_DECLS + +int getcontext(ucontext_t *); +int setcontext(const ucontext_t *); +void makecontext(ucontext_t *, void (*)(void), int, ...); +int swapcontext(ucontext_t *, const ucontext_t *); + +__END_DECLS + #endif /* !_SYS_UCONTEXT_H_ */