From: Rich Felker Date: Sun, 31 Jul 2011 04:10:29 +0000 (-0400) Subject: consistency: use struct __ucontext instead of ucontext_t in prototypes X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=commitdiff_plain;h=acfd06df17fd3940e4602af4b9132f61a6a3eb7f 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 --- 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