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.
master
Bobby Bingham 2019-04-05 14:09:25 -05:00
parent a00a05ce29
commit 40d07758a5
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ extern void __start_context(void);
void
__makecontext(ucontext_t *ucp, void (*func)(void), int argc, ...)
__makecontext(ucontext_t *ucp, void (*func)(), int argc, ...)
{
greg_t *sp;
va_list va;

View File

@ -25,7 +25,7 @@ extern void __start_context(void);
void
__makecontext(ucontext_t *ucp, void (*func)(void), int argc, ...)
__makecontext(ucontext_t *ucp, void (*func)(), int argc, ...)
{
greg_t *sp;
va_list va;