Revert "Add sys/ucontext.h"

This reverts commit 6ddf93bfbe.

As pointed out by Ingo, those were moved to sugnal.h in the latest issue
(issue 7) of the POSIX spec. Sorry!
This commit is contained in:
Adrien Destugues 2014-08-09 20:18:05 +02:00
parent 6ddf93bfbe
commit 4ad7d95bac
4 changed files with 10 additions and 21 deletions

View File

@ -351,4 +351,14 @@ typedef struct vregs vregs;
#include __HAIKU_ARCH_HEADER(signal.h)
typedef struct vregs mcontext_t;
typedef struct __ucontext_t {
struct __ucontext_t* uc_link;
sigset_t uc_sigmask;
stack_t uc_stack;
mcontext_t uc_mcontext;
} ucontext_t;
#endif /* _SIGNAL_H_ */

View File

@ -1,19 +0,0 @@
/*
* Copyright 2014, Haiku, Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _UCONTEXT_H_
#define _UCONTEXT_H_
typedef struct vregs mcontext_t;
typedef struct __ucontext_t {
struct __ucontext_t* uc_link;
sigset_t uc_sigmask;
stack_t uc_stack;
mcontext_t uc_mcontext;
} ucontext_t;
#endif

View File

@ -17,7 +17,6 @@
#include <heap.h>
#include <util/DoublyLinkedList.h>
#include <util/KernelReferenceable.h>
#include <sys/ucontext.h>
namespace BKernel {

View File

@ -25,7 +25,6 @@
#include <util/DoublyLinkedList.h>
#include <util/KernelReferenceable.h>
#include <util/list.h>
#include <sys/ucontext.h>
enum additional_thread_state {