diff options
author | Drew DeVault <sir@cmpwn.com> | 2020-12-05 18:10:06 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2020-12-06 12:07:16 -0500 |
commit | 56f0631d9553dc06530ff661527cf1fcd595a0d1 (patch) | |
tree | 4769e1ec66b5921fd7230568d39264d481cb6f82 /arch | |
parent | 50c7935cd21f33f42013447d57bc19d2e6318aae (diff) | |
download | musl-56f0631d9553dc06530ff661527cf1fcd595a0d1.tar.gz musl-56f0631d9553dc06530ff661527cf1fcd595a0d1.tar.xz musl-56f0631d9553dc06530ff661527cf1fcd595a0d1.zip |
riscv64: fix inconsistent ucontext_t struct tag
ucontext.h depends on the internal struct tag name for namespacing reasons, and the intent was always for it to be consistent across archs anyway.
Diffstat (limited to 'arch')
-rw-r--r-- | arch/riscv64/bits/signal.h | 4 |
1 files 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; |