*
* @APPLE_LICENSE_HEADER_START@
*
- * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
- *
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file except in
#ifndef _UCONTEXT_H_
#define _UCONTEXT_H_
+#include <sys/cdefs.h>
#include <sys/ucontext.h>
+__BEGIN_DECLS
+int getcontext(ucontext_t *);
+void makecontext(ucontext_t *, void (*)(void), int, ...);
+int setcontext(const ucontext_t *);
+int swapcontext(ucontext_t * __restrict, const ucontext_t * __restrict);
+__END_DECLS
+
#endif /* _UCONTEXT_H_ */