The branch main has been updated by jrtc27: URL: https://cgit.FreeBSD.org/src/commit/?id=1c1f229e9156dd75cab5e0e3e586c5ef319d68ee
commit 1c1f229e9156dd75cab5e0e3e586c5ef319d68ee Author: Jessica Clarke <jrt...@freebsd.org> AuthorDate: 2023-10-28 01:45:06 +0000 Commit: Jessica Clarke <jrt...@freebsd.org> CommitDate: 2023-10-28 01:45:06 +0000 libc: Strip plentiful trailing whitespace from aarch64+arm makecontext.c --- lib/libc/aarch64/gen/makecontext.c | 10 +++++----- lib/libc/arm/gen/makecontext.c | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/libc/aarch64/gen/makecontext.c b/lib/libc/aarch64/gen/makecontext.c index ae23ad87d3a2..d4dcffa6cd6f 100644 --- a/lib/libc/aarch64/gen/makecontext.c +++ b/lib/libc/aarch64/gen/makecontext.c @@ -40,16 +40,16 @@ void _ctx_start(void); void ctx_done(ucontext_t *ucp) -{ - +{ + if (ucp->uc_link == NULL) { exit(0); - } else { + } else { setcontext((const ucontext_t *)ucp->uc_link); abort(); - } + } } - + __weak_reference(__makecontext, makecontext); void diff --git a/lib/libc/arm/gen/makecontext.c b/lib/libc/arm/gen/makecontext.c index bf24e1f741c9..1051d4e4de15 100644 --- a/lib/libc/arm/gen/makecontext.c +++ b/lib/libc/arm/gen/makecontext.c @@ -43,15 +43,15 @@ extern void _ctx_start(void); void ctx_done(ucontext_t *ucp) -{ - +{ + if (ucp->uc_link == NULL) exit(0); - else { + else { setcontext((const ucontext_t *)ucp->uc_link); abort(); - } -} + } +} __weak_reference(__makecontext, makecontext);