about summary refs log tree commit diff
path: root/include/ucontext.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-02-16 23:36:26 -0500
committerRich Felker <dalias@aerifal.cx>2011-02-16 23:36:26 -0500
commit798a12ecc4ec4a7780beaf2f5fb86ffbc9738755 (patch)
tree94b89b6c28d16be4fc06bf6d2e402d4f9c05cc7d /include/ucontext.h
parent417dbe92cbecae31aa569cb4033560eb140bff56 (diff)
downloadmusl-798a12ecc4ec4a7780beaf2f5fb86ffbc9738755.tar.gz
musl-798a12ecc4ec4a7780beaf2f5fb86ffbc9738755.tar.xz
musl-798a12ecc4ec4a7780beaf2f5fb86ffbc9738755.zip
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...
Diffstat (limited to 'include/ucontext.h')
-rw-r--r--include/ucontext.h4
1 files 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;