ucontext is no longer in the standard, so use gnu-friendly struct name
authorRich Felker <dalias@aerifal.cx>
Thu, 17 Feb 2011 04:36:26 +0000 (23:36 -0500)
committerRich Felker <dalias@aerifal.cx>
Thu, 17 Feb 2011 04:36:26 +0000 (23:36 -0500)
note that this header is still bogus and needs a lot of work and
factoring into arch-dependent parts...

include/ucontext.h

index db33567..96c27cb 100644 (file)
@@ -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;