فهرست منبع

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;