about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-07-31 00:10:29 -0400
committerRich Felker <dalias@aerifal.cx>2011-07-31 00:10:29 -0400
commitacfd06df17fd3940e4602af4b9132f61a6a3eb7f (patch)
tree8bded47cb7113e9e80d38740213ca5470191437d /include
parent07827d1a82fb33262f686eda959857f0d28cd8fa (diff)
downloadmusl-acfd06df17fd3940e4602af4b9132f61a6a3eb7f.tar.gz
musl-acfd06df17fd3940e4602af4b9132f61a6a3eb7f.tar.xz
musl-acfd06df17fd3940e4602af4b9132f61a6a3eb7f.zip
consistency: use struct __ucontext instead of ucontext_t in prototypes
this is necessary to avoid build errors if feature test macros are not
properly defined when including ucontext.h
Diffstat (limited to 'include')
-rw-r--r--include/ucontext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ucontext.h b/include/ucontext.h
index 87c89caf..11217616 100644
--- a/include/ucontext.h
+++ b/include/ucontext.h
@@ -14,7 +14,7 @@ struct __ucontext;
 
 int  getcontext(struct __ucontext *);
 void makecontext(struct __ucontext *, void (*)(void), int, ...);
-int  setcontext(const ucontext_t *);
+int  setcontext(const struct __ucontext *);
 int  swapcontext(struct __ucontext *, const struct __ucontext *);
 
 #ifdef __cplusplus