From 798a12ecc4ec4a7780beaf2f5fb86ffbc9738755 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 16 Feb 2011 23:36:26 -0500 Subject: [PATCH] ucontext is no longer in the standard, so use gnu-friendly struct name note that this header is still bogus and needs a lot of work and factoring into arch-dependent parts... --- include/ucontext.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/ucontext.h b/include/ucontext.h index db335677..96c27cb7 100644 --- a/include/ucontext.h +++ b/include/ucontext.h @@ -18,9 +18,9 @@ typedef struct { unsigned long __oldmask, __cr2; } mcontext_t; -typedef struct __ucontext { +typedef struct ucontext { unsigned long uc_flags; - struct __ucontext *uc_link; + struct ucontext *uc_link; stack_t uc_stack; mcontext_t uc_mcontext; sigset_t uc_sigmask;