diff options
author | kib <kib@FreeBSD.org> | 2015-02-07 08:47:15 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2015-02-07 08:47:15 +0000 |
commit | 9dc38ea5dcf15da6e80250c0018fce6495e579f3 (patch) | |
tree | 17a888d04faa59609a799c86f005532e1b81fc0f /sys/mips | |
parent | 834093cd4831fa6a41e4935603d1a85783f0f359 (diff) | |
download | FreeBSD-src-9dc38ea5dcf15da6e80250c0018fce6495e579f3.zip FreeBSD-src-9dc38ea5dcf15da6e80250c0018fce6495e579f3.tar.gz |
MFC r278001:
Do not qualify the mcontext_t *mcp argument for set_mcontext(9) as const.
Diffstat (limited to 'sys/mips')
-rw-r--r-- | sys/mips/mips/freebsd32_machdep.c | 4 | ||||
-rw-r--r-- | sys/mips/mips/pm_machdep.c | 2 |
2 files changed, 3 insertions, 3 deletions
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; |