From 24e6de08d5888ea9e8d53d471d61bc1886dce8fc Mon Sep 17 00:00:00 2001 From: Dmitry Chestnykh Date: Sat, 18 May 2024 18:07:44 +0300 Subject: Fix wrong `struct ucontext_t` typedef for all arches. The correct one is `struct ucontext` -> `ucontext_t`. Signed-off-by: Dmitry Chestnykh --- libc/sysdeps/linux/aarch64/sys/ucontext.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/sysdeps/linux/aarch64/sys') diff --git a/libc/sysdeps/linux/aarch64/sys/ucontext.h b/libc/sysdeps/linux/aarch64/sys/ucontext.h index 5f75cbbf3..1a27f918b 100644 --- a/libc/sysdeps/linux/aarch64/sys/ucontext.h +++ b/libc/sysdeps/linux/aarch64/sys/ucontext.h @@ -45,10 +45,10 @@ typedef elf_fpregset_t fpregset_t; typedef struct sigcontext mcontext_t; /* Userlevel context. */ -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; unsigned char __reserved[128]; -- cgit v1.2.3