mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Drew DeVault <sir@cmpwn.com>
To: musl@lists.openwall.com
Cc: Drew DeVault <sir@cmpwn.com>
Subject: [musl] [PATCH v2] riscv64: correct struct __ucontext name
Date: Sat, 05 Dec 2020 18:10:06 GMT	[thread overview]
Message-ID: <20201205180915.30950-1-sir@cmpwn.com> (raw)


This makes it consistent with other architectures and fixes some issues
with downstream software.
---
v1 missed a spot. Please Cc me on replies.

 arch/riscv64/bits/signal.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/riscv64/bits/signal.h b/arch/riscv64/bits/signal.h
index b006334f..287367db 100644
--- a/arch/riscv64/bits/signal.h
+++ b/arch/riscv64/bits/signal.h
@@ -60,10 +60,10 @@ struct sigaltstack {
 	size_t ss_size;
 };
 
-typedef struct ucontext_t
+typedef struct __ucontext
 {
 	unsigned long uc_flags;
-	struct ucontext_t *uc_link;
+	struct __ucontext *uc_link;
 	stack_t uc_stack;
 	sigset_t uc_sigmask;
 	mcontext_t uc_mcontext;
-- 
2.29.2


             reply	other threads:[~2020-12-05 19:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-05 18:10 Drew DeVault [this message]
2020-12-06  8:51 ` Szabolcs Nagy
2020-12-06 12:49   ` Drew DeVault
2020-12-06 16:55     ` Ariadne Conill
2020-12-06 17:06       ` Rich Felker
2020-12-06 17:10         ` Ariadne Conill
2020-12-06 17:19           ` Rich Felker
2020-12-06 17:32             ` Szabolcs Nagy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201205180915.30950-1-sir@cmpwn.com \
    --to=sir@cmpwn.com \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).