From nobody Sat Oct 28 01:45:39 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SHMmz2kGSz4yDYq; Sat, 28 Oct 2023 01:45:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SHMmz240Hz4vGr; Sat, 28 Oct 2023 01:45:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698457539; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RDH4NJV3fe/z0MvmOuxHUlcfxj0sV92Zl0tW1m3u5ik=; b=Mn1aeeN1wxvB6M2++fyTdXH678EQdntEGbWGsLrH1EhLeIrAClmKSP0kPpwaX4iaMWfXFl g2h/RdQya4/hoewK+Ude3WzMVZ+rAPC03zCFcRLZ6nbtxjSbCvZkw1XeueYduZUppkCaQZ nRXfusSlGGyWwfD7nGm3y4AcKuLv3yjWKahZySVAdNlA+CZfqaMrCFcMx1UV0ZRU4WWHEO qKOgbCnYaTFpj/ukO4Tk0CiLlAduAf26VdJXZDPKXzzYAWnNC+/E0FLK2LipR5OaVDRoXQ t3/fBzI9VAM9AgPvHccNrLBwQLcQBN2oTJrc4J7DsjkGW+Cb9WrxlxwWOsrUjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698457539; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RDH4NJV3fe/z0MvmOuxHUlcfxj0sV92Zl0tW1m3u5ik=; b=eTNeGRmeeGgb6TTFTA1zAQC7BH9s8e325FRmjCjQnw77dHBLyL42z+gm9BFYnKAa/yDviF Syja+4ywb9pxW6z6TAneK3iaRPH8+K3TcYqpl2iJ7KhKFNl+q+5cPgQOdf8QrrgXdjcbdm Qx62W3T8cFUIC1ojpOWI7K1W4y3qO6x/BlNb0AzCJw29fEVs7ahZ5xE+Its0Bm0rP1VKGu 16eey00rqEnp7kIkZpGZD79tP+0mCEvKbtO5HN6Te5wP604ggdKbCgItxoktltaY99E76i 7NkJbiLybPvBPUDb2ITfJss4w5420xyBrP0ExBqEWAN2Ieb2dbQfYoLwiJNnaw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698457539; a=rsa-sha256; cv=none; b=y2FWNSM6oSum1ngj3CBeKYLIId92dKGZPgKDc1ilhk9RAdgbYhWRgPj8KGiWt1geZIeu+s 9ZwsGhGp9pmTgivd1AfxCsrfaAXKcOzO7/axUQAk+Bx/3ia0c1gtX/x1AQrPOkD9lod2bf c0TvwI5yK6N93d0z45Ti+dDFJJR3fNs62st+U/i4ugnPLs1PCSS/i52j8MdRIhUxdbaenQ zAJk3Xck0WA6RSGMGrBmVDmfWksHDR3feLREJVdcZs1bHlIkIv5viJNVm5+YdJ94BeFMn4 R+5bCcYSyJ97hZ1yPlEHc9t021in5u5scsUhZMRQT0nmalqfG7gtOs1MzpFPTw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SHMmz104kzd49; Sat, 28 Oct 2023 01:45:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39S1jdxi009670; Sat, 28 Oct 2023 01:45:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39S1jd64009667; Sat, 28 Oct 2023 01:45:39 GMT (envelope-from git) Date: Sat, 28 Oct 2023 01:45:39 GMT Message-Id: <202310280145.39S1jd64009667@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Jessica Clarke Subject: git: 1c1f229e9156 - main - libc: Strip plentiful trailing whitespace from aarch64+arm makecontext.c List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jrtc27 X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1c1f229e9156dd75cab5e0e3e586c5ef319d68ee Auto-Submitted: auto-generated The branch main has been updated by jrtc27: URL: https://cgit.FreeBSD.org/src/commit/?id=1c1f229e9156dd75cab5e0e3e586c5ef319d68ee commit 1c1f229e9156dd75cab5e0e3e586c5ef319d68ee Author: Jessica Clarke AuthorDate: 2023-10-28 01:45:06 +0000 Commit: Jessica Clarke 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);