summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>1999-10-07 09:03:17 +0000
committermarcel <marcel@FreeBSD.org>1999-10-07 09:03:17 +0000
commitfc3c2c1bd51a2058e0263ab2b20bb78980e3bfef (patch)
treeaeaf7e41d9e9eb82ab30ed88cbb810da239bbad7
parentb4eb8ad32b306c3b18e57d9ec5374dcab7542d3b (diff)
downloadFreeBSD-src-fc3c2c1bd51a2058e0263ab2b20bb78980e3bfef.zip
FreeBSD-src-fc3c2c1bd51a2058e0263ab2b20bb78980e3bfef.tar.gz
I forgot this one :-(
ucontext_t is now actually compatible with struct sigcontext. Discovered by: jdp
-rw-r--r--sys/sys/ucontext.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/ucontext.h b/sys/sys/ucontext.h
index b28c685..8f554e0 100644
--- a/sys/sys/ucontext.h
+++ b/sys/sys/ucontext.h
@@ -35,18 +35,18 @@
typedef struct __ucontext {
/*
- * Keep the order of the first three fields. Also,
- * keep them the first to fields in the structure.
+ * Keep the order of the first two fields. Also,
+ * keep them the first two fields in the structure.
* This way we can have a union with struct
* sigcontext and ucontext_t. This allows us to
* support them both at the same time.
* note: the union is not defined, though.
*/
sigset_t uc_sigmask;
- stack_t uc_stack;
mcontext_t uc_mcontext;
struct __ucontext_t *uc_link;
+ stack_t uc_stack;
int __spare__[8];
} ucontext_t;
OpenPOWER on IntegriCloud