From 9dc38ea5dcf15da6e80250c0018fce6495e579f3 Mon Sep 17 00:00:00 2001 From: kib Date: Sat, 7 Feb 2015 08:47:15 +0000 Subject: MFC r278001: Do not qualify the mcontext_t *mcp argument for set_mcontext(9) as const. --- sys/mips/mips/freebsd32_machdep.c | 4 ++-- sys/mips/mips/pm_machdep.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/mips') diff --git a/sys/mips/mips/freebsd32_machdep.c b/sys/mips/mips/freebsd32_machdep.c index dfdf70f..9de4685b 100644 --- a/sys/mips/mips/freebsd32_machdep.c +++ b/sys/mips/mips/freebsd32_machdep.c @@ -68,7 +68,7 @@ static void freebsd32_exec_setregs(struct thread *, struct image_params *, u_long); static int get_mcontext32(struct thread *, mcontext32_t *, int); -static int set_mcontext32(struct thread *, const mcontext32_t *); +static int set_mcontext32(struct thread *, mcontext32_t *); static void freebsd32_sendsig(sig_t, ksiginfo_t *, sigset_t *); extern const char *freebsd32_syscallnames[]; @@ -227,7 +227,7 @@ get_mcontext32(struct thread *td, mcontext32_t *mcp, int flags) } static int -set_mcontext32(struct thread *td, const mcontext32_t *mcp) +set_mcontext32(struct thread *td, mcontext32_t *mcp) { mcontext_t mcp64; unsigned i; diff --git a/sys/mips/mips/pm_machdep.c b/sys/mips/mips/pm_machdep.c index 6a7180a..7db671d 100644 --- a/sys/mips/mips/pm_machdep.c +++ b/sys/mips/mips/pm_machdep.c @@ -396,7 +396,7 @@ get_mcontext(struct thread *td, mcontext_t *mcp, int flags) } int -set_mcontext(struct thread *td, const mcontext_t *mcp) +set_mcontext(struct thread *td, mcontext_t *mcp) { struct trapframe *tp; -- cgit v1.1