Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm Preserve const.
details: https://anonhg.NetBSD.org/src/rev/da82a73be35e
branches: trunk
changeset: 333914:da82a73be35e
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Nov 21 23:36:20 2014 +0000
description:
Preserve const.
diffstat:
sys/arch/arm/arm/disassem.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 5e0974a5e38c -r da82a73be35e sys/arch/arm/arm/disassem.c
--- a/sys/arch/arm/arm/disassem.c Fri Nov 21 23:28:57 2014 +0000
+++ b/sys/arch/arm/arm/disassem.c Fri Nov 21 23:36:20 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: disassem.c,v 1.24 2014/03/03 08:51:39 matt Exp $ */
+/* $NetBSD: disassem.c,v 1.25 2014/11/21 23:36:20 joerg Exp $ */
/*
* Copyright (c) 1996 Mark Brinicombe.
@@ -49,7 +49,7 @@
#include <sys/param.h>
-__KERNEL_RCSID(0, "$NetBSD: disassem.c,v 1.24 2014/03/03 08:51:39 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: disassem.c,v 1.25 2014/11/21 23:36:20 joerg Exp $");
#include <sys/systm.h>
@@ -320,7 +320,7 @@
vaddr_t
disasm(const disasm_interface_t *di, vaddr_t loc, int altfmt)
{
- struct arm32_insn *i_ptr = (struct arm32_insn *)&arm32_i;
+ const struct arm32_insn *i_ptr = (const struct arm32_insn *)&arm32_i;
u_int insn;
int matchp;
Home |
Main Index |
Thread Index |
Old Index