Loading...
include/ucontext.h Libc-320 Libc-498.1.7
--- Libc/Libc-320/include/ucontext.h
+++ Libc/Libc-498.1.7/include/ucontext.h
@@ -2,8 +2,6 @@
  * Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
  *
  * @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
@@ -26,6 +24,14 @@
 #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_ */