Module Name: src
Committed By: isaki
Date: Tue Mar 19 09:28:40 UTC 2013
Modified Files:
src/sys/arch/m68k/fpe: fpu_emulate.h fpu_explode.c
Log Message:
const-ify.
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/m68k/fpe/fpu_emulate.h
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/m68k/fpe/fpu_explode.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/m68k/fpe/fpu_emulate.h
diff -u src/sys/arch/m68k/fpe/fpu_emulate.h:1.20 src/sys/arch/m68k/fpe/fpu_emulate.h:1.21
--- src/sys/arch/m68k/fpe/fpu_emulate.h:1.20 Tue Mar 19 09:17:17 2013
+++ src/sys/arch/m68k/fpe/fpu_emulate.h Tue Mar 19 09:28:39 2013
@@ -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_shr(struct fpn *, int);
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 *);
/*
Index: src/sys/arch/m68k/fpe/fpu_explode.c
diff -u src/sys/arch/m68k/fpe/fpu_explode.c:1.12 src/sys/arch/m68k/fpe/fpu_explode.c:1.13
--- src/sys/arch/m68k/fpe/fpu_explode.c:1.12 Tue Mar 19 09:17:17 2013
+++ src/sys/arch/m68k/fpe/fpu_explode.c Tue Mar 19 09:28:39 2013
@@ -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 @@ fpu_xtof(struct fpn *fp, u_int i, u_int
* 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;