summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/tile/sys/ucontext.h
diff options
context:
space:
mode:
authorDmitry Chestnykh <dm.chestnykh@gmail.com>2024-05-18 18:07:44 +0300
committerWaldemar Brodkorb <wbx@openadk.org>2024-05-18 19:18:03 +0200
commit24e6de08d5888ea9e8d53d471d61bc1886dce8fc (patch)
treed86475899ffa0bea31b77a48a828668782e675dc /libc/sysdeps/linux/tile/sys/ucontext.h
parent4cab29f60ecf75b1ac8728b44ce2a8e974872ec0 (diff)
Fix wrong `struct ucontext_t` typedef for all arches.
The correct one is `struct ucontext` -> `ucontext_t`. Signed-off-by: Dmitry Chestnykh <dm.chestnykh@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/tile/sys/ucontext.h')
-rw-r--r--libc/sysdeps/linux/tile/sys/ucontext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/tile/sys/ucontext.h b/libc/sysdeps/linux/tile/sys/ucontext.h
index ed2c27b58..068da8c4a 100644
--- a/libc/sysdeps/linux/tile/sys/ucontext.h
+++ b/libc/sysdeps/linux/tile/sys/ucontext.h
@@ -82,10 +82,10 @@ typedef struct
} mcontext_t;
/* Userlevel context. */
-typedef struct ucontext_t
+typedef struct ucontext
{
unsigned long int __ctx(uc_flags);
- struct ucontext_t *uc_link;
+ struct ucontext *uc_link;
stack_t uc_stack;
mcontext_t uc_mcontext;
sigset_t uc_sigmask;