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
This commit is contained in:
Rich Felker 2011-07-31 00:10:29 -04:00
parent 07827d1a82
commit acfd06df17
1 changed files with 1 additions and 1 deletions

View File

@ -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