summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-03-12 00:18:20 +0000
committerpeter <peter@FreeBSD.org>2002-03-12 00:18:20 +0000
commitff3e7533a6040dd0b3f831935fcba0036964f8b9 (patch)
treeb31cd1d8a932c8634255abc958f260686de67012 /sys
parent3e0ebce93d999260a994ab623d07f1f64b0b6dd9 (diff)
downloadFreeBSD-src-ff3e7533a6040dd0b3f831935fcba0036964f8b9.zip
FreeBSD-src-ff3e7533a6040dd0b3f831935fcba0036964f8b9.tar.gz
Fix a warning (make ucontext_t *ucp a const)
Diffstat (limited to 'sys')
-rw-r--r--sys/ia64/ia64/machdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/ia64/ia64/machdep.c b/sys/ia64/ia64/machdep.c
index 05cf4d0..45006ab 100644
--- a/sys/ia64/ia64/machdep.c
+++ b/sys/ia64/ia64/machdep.c
@@ -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;
OpenPOWER on IntegriCloud