projects
/
musl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50c7935
)
riscv64: fix inconsistent ucontext_t struct tag
author
Drew DeVault
<sir@cmpwn.com>
Sat, 5 Dec 2020 18:10:06 +0000
(18:10 +0000)
committer
Rich Felker
<dalias@aerifal.cx>
Sun, 6 Dec 2020 17:07:16 +0000
(12:07 -0500)
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.
arch/riscv64/bits/signal.h
patch
|
blob
|
history
diff --git
a/arch/riscv64/bits/signal.h
b/arch/riscv64/bits/signal.h
index
b006334
..
287367d
100644
(file)
--- 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
__ucontex
t
{
unsigned long uc_flags;
- struct
ucontext_
t *uc_link;
+ struct
__ucontex
t *uc_link;
stack_t uc_stack;
sigset_t uc_sigmask;
mcontext_t uc_mcontext;