OSDN Git Service

fix signature of function accepted by makecontext
[android-x86/external-musl-libc.git] / include / ucontext.h
index 3bb776e..0f75712 100644 (file)
@@ -15,7 +15,7 @@ extern "C" {
 struct __ucontext;
 
 int  getcontext(struct __ucontext *);
-void makecontext(struct __ucontext *, void (*)(void), int, ...);
+void makecontext(struct __ucontext *, void (*)(), int, ...);
 int  setcontext(const struct __ucontext *);
 int  swapcontext(struct __ucontext *, const struct __ucontext *);