forked from ariadne/libucontext
ppc32/64: correct signature of function parameter to makecontext
Because makecontext can pass a set of integer arguments to the provided function, it is incorrect to require that this function accept no parameters.arm_linker_fix
parent
a00a05ce29
commit
40d07758a5
|
@ -25,7 +25,7 @@ extern void __start_context(void);
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
__makecontext(ucontext_t *ucp, void (*func)(void), int argc, ...)
|
__makecontext(ucontext_t *ucp, void (*func)(), int argc, ...)
|
||||||
{
|
{
|
||||||
greg_t *sp;
|
greg_t *sp;
|
||||||
va_list va;
|
va_list va;
|
||||||
|
|
|
@ -25,7 +25,7 @@ extern void __start_context(void);
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
__makecontext(ucontext_t *ucp, void (*func)(void), int argc, ...)
|
__makecontext(ucontext_t *ucp, void (*func)(), int argc, ...)
|
||||||
{
|
{
|
||||||
greg_t *sp;
|
greg_t *sp;
|
||||||
va_list va;
|
va_list va;
|
||||||
|
|
Loading…
Reference in New Issue