summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/sigframe.h
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>2002-02-17 17:40:34 +0000
committerdeischen <deischen@FreeBSD.org>2002-02-17 17:40:34 +0000
commitd948dbd9bc544b1a1453a01158b3c82583e62d4f (patch)
treece2496353fd641843d92285dae19123ceeb99292 /sys/amd64/include/sigframe.h
parent9cc19e2aaad6a408571bde1182fa2ce368108894 (diff)
downloadFreeBSD-src-d948dbd9bc544b1a1453a01158b3c82583e62d4f.zip
FreeBSD-src-d948dbd9bc544b1a1453a01158b3c82583e62d4f.tar.gz
Use struct __ucontext in prototypes and associated functions instead of
ucontext_t. Forward declare struct __ucontext in <sys/signal.h> and remove reliance on <sys/ucontext.h> being included. While I'm here, also hide osigcontext types from userland; suggested by bde. Namespace pollution noticed by: Kevin Day <toasty@shell.dragondata.com>
Diffstat (limited to 'sys/amd64/include/sigframe.h')
-rw-r--r--sys/amd64/include/sigframe.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/amd64/include/sigframe.h b/sys/amd64/include/sigframe.h
index 27be404..947743d 100644
--- a/sys/amd64/include/sigframe.h
+++ b/sys/amd64/include/sigframe.h
@@ -34,7 +34,7 @@
/*
* Signal frames, arguments passed to application signal handlers.
*/
-
+#ifdef _KERNEL
struct osigframe {
/*
* The first four members may be used by applications.
@@ -69,6 +69,7 @@ struct osigframe {
/* In the SA_SIGINFO case, sf_arg2 points here. */
osiginfo_t sf_siginfo;
};
+#endif
struct sigframe {
/*
OpenPOWER on IntegriCloud