Преглед изворни кода

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...
Rich Felker пре 14 година
родитељ
комит
798a12ecc4
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      include/ucontext.h

+ 2 - 2
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;