summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/sparc64/machdep.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2015-02-07 08:47:15 +0000
committerkib <kib@FreeBSD.org>2015-02-07 08:47:15 +0000
commit9dc38ea5dcf15da6e80250c0018fce6495e579f3 (patch)
tree17a888d04faa59609a799c86f005532e1b81fc0f /sys/sparc64/sparc64/machdep.c
parent834093cd4831fa6a41e4935603d1a85783f0f359 (diff)
downloadFreeBSD-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/sparc64/sparc64/machdep.c')
-rw-r--r--sys/sparc64/sparc64/machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/sparc64/machdep.c b/sys/sparc64/sparc64/machdep.c
index 9c0042e..af8c619 100644
--- a/sys/sparc64/sparc64/machdep.c
+++ b/sys/sparc64/sparc64/machdep.c
@@ -815,7 +815,7 @@ get_mcontext(struct thread *td, mcontext_t *mc, int flags)
}
int
-set_mcontext(struct thread *td, const mcontext_t *mc)
+set_mcontext(struct thread *td, mcontext_t *mc)
{
struct trapframe *tf;
struct pcb *pcb;
OpenPOWER on IntegriCloud