git: <signal.h>/<ucontext.h>: Split those two headers better.
Sascha Wildner
swildner at crater.dragonflybsd.org
Sun Aug 15 03:41:11 PDT 2021
commit 38c3a22e15fcec0d0f58d0632d67112826ed3615
Author: Sascha Wildner <saw at online.de>
Date: Sun Aug 15 12:32:08 2021 +0200
<signal.h>/<ucontext.h>: Split those two headers better.
<signal.h> needs only ucontext_t and stack_t from <ucontext.h>. Split
those out to <sys/_ucontext.h> and stop including the full <ucontext.h>
from <signal.h> and vice versa, for userland.
In <ucontext.h>, continue defining siginfo_t for non-POSIX because
third party code expects us to.
This has been tested with a full dports bulk build.
Summary of changes:
lib/libc/x86_64/sys/asmcontext.c | 1 +
sys/cpu/x86_64/include/sigframe.h | 2 +-
sys/cpu/x86_64/include/ucontext.h | 2 +
.../nat/ipfw3_nat.h => sys/sys/_ucontext.h | 57 +++++++++++++++++++---
sys/sys/signal.h | 18 ++-----
sys/sys/ucontext.h | 27 ++--------
6 files changed, 61 insertions(+), 46 deletions(-)
copy lib/libipfw3/nat/ipfw3_nat.h => sys/sys/_ucontext.h (57%)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/38c3a22e15fcec0d0f58d0632d67112826ed3615
--
DragonFly BSD source repository
More information about the Commits
mailing list