Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/m68k/fpe const-ify.



details:   https://anonhg.NetBSD.org/src/rev/c94bdd9e5b60
branches:  trunk
changeset: 785548:c94bdd9e5b60
user:      isaki <isaki%NetBSD.org@localhost>
date:      Tue Mar 19 09:28:39 2013 +0000

description:
const-ify.

diffstat:

 sys/arch/m68k/fpe/fpu_emulate.h |  4 ++--
 sys/arch/m68k/fpe/fpu_explode.c |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 0c53ae647e80 -r c94bdd9e5b60 sys/arch/m68k/fpe/fpu_emulate.h
--- a/sys/arch/m68k/fpe/fpu_emulate.h   Tue Mar 19 09:17:17 2013 +0000
+++ b/sys/arch/m68k/fpe/fpu_emulate.h   Tue Mar 19 09:28:39 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fpu_emulate.h,v 1.20 2013/03/19 09:17:17 isaki Exp $   */
+/*     $NetBSD: fpu_emulate.h,v 1.21 2013/03/19 09:28:39 isaki Exp $   */
 
 /*
  * Copyright (c) 1995 Gordon Ross
@@ -227,7 +227,7 @@
 int    fpu_round(struct fpemu *, struct fpn *);
 
 /* type conversion */
-void   fpu_explode(struct fpemu *, struct fpn *, int t, u_int *);
+void   fpu_explode(struct fpemu *, struct fpn *, int t, const u_int *);
 void   fpu_implode(struct fpemu *, struct fpn *, int t, u_int *);
 
 /*
diff -r 0c53ae647e80 -r c94bdd9e5b60 sys/arch/m68k/fpe/fpu_explode.c
--- a/sys/arch/m68k/fpe/fpu_explode.c   Tue Mar 19 09:17:17 2013 +0000
+++ b/sys/arch/m68k/fpe/fpu_explode.c   Tue Mar 19 09:28:39 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fpu_explode.c,v 1.12 2013/03/19 09:17:17 isaki Exp $ */
+/*     $NetBSD: fpu_explode.c,v 1.13 2013/03/19 09:28:39 isaki Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -46,7 +46,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fpu_explode.c,v 1.12 2013/03/19 09:17:17 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fpu_explode.c,v 1.13 2013/03/19 09:28:39 isaki Exp $");
 
 #include <sys/types.h>
 #include <sys/systm.h>
@@ -222,7 +222,7 @@
  * Explode the contents of a memory operand.
  */
 void
-fpu_explode(struct fpemu *fe, struct fpn *fp, int type, u_int *space)
+fpu_explode(struct fpemu *fe, struct fpn *fp, int type, const u_int *space)
 {
        u_int s;
 



Home | Main Index | Thread Index | Old Index