X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Fucontext.h;h=1121761626b65c41977e51473991273abb0670fe;hp=cd6d223ec115578f80d2e6fb4aa27b9b53938b0d;hb=50304f2eefb4c79ceaf4605203f3825a35d831c0;hpb=ad2fe25041622b6cf426b0f98af0e52c2c9727f6 diff --git a/include/ucontext.h b/include/ucontext.h index cd6d223e..11217616 100644 --- a/include/ucontext.h +++ b/include/ucontext.h @@ -10,10 +10,12 @@ extern "C" { #define ucontext __ucontext #endif -int getcontext(ucontext_t *); -void makecontext(ucontext_t *, void (*)(void), int, ...); -int setcontext(const ucontext_t *); -int swapcontext(ucontext_t *, const ucontext_t *); +struct __ucontext; + +int getcontext(struct __ucontext *); +void makecontext(struct __ucontext *, void (*)(void), int, ...); +int setcontext(const struct __ucontext *); +int swapcontext(struct __ucontext *, const struct __ucontext *); #ifdef __cplusplus }