|
Message-Id: <20180131232924.4051-1-nenolod@dereferenced.org> Date: Wed, 31 Jan 2018 23:29:24 +0000 From: William Pitcock <nenolod@...eferenced.org> To: musl@...ts.openwall.com Cc: William Pitcock <nenolod@...eferenced.org> Subject: [PATCH] aarch64: signal: fix type definition for ucontext_t.uc_link When compiling the test program for libucontext, I observed a compiler warning concerning assignment to the wrong type (`struct __ucontext` vs `struct ucontext`). Accordingly, ucontext_t.uc_link should be the same structure as ucontext_t itself. --- arch/aarch64/bits/signal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/aarch64/bits/signal.h b/arch/aarch64/bits/signal.h index 5eb3d91f..1c67313d 100644 --- a/arch/aarch64/bits/signal.h +++ b/arch/aarch64/bits/signal.h @@ -59,7 +59,7 @@ struct sigaltstack { typedef struct __ucontext { unsigned long uc_flags; - struct ucontext *uc_link; + struct __ucontext *uc_link; stack_t uc_stack; sigset_t uc_sigmask; mcontext_t uc_mcontext; -- 2.16.1
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.