Fix a warning (make ucontext_t *ucp a const)

This commit is contained in:
Peter Wemm 2002-03-12 00:18:20 +00:00
parent db593b65d2
commit a84c6cd303

View File

@ -964,7 +964,8 @@ sigreturn(struct thread *td,
ucontext_t *sigcntxp;
} */ *uap)
{
ucontext_t uc, *ucp;
ucontext_t uc;
const ucontext_t *ucp;
struct pcb *pcb;
struct trapframe *frame = td->td_frame;
struct __mcontext *mcp;