Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/fpu Drop one more register qualifier.



details:   https://anonhg.NetBSD.org/src/rev/f0d570aac9be
branches:  trunk
changeset: 369738:f0d570aac9be
user:      rin <rin%NetBSD.org@localhost>
date:      Tue Aug 30 01:48:09 2022 +0000

description:
Drop one more register qualifier.

diffstat:

 sys/arch/sparc/fpu/fpu_extern.h |  4 ++--
 sys/arch/sparc/fpu/fpu_subr.c   |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (44 lines):

diff -r b3e6fd2121bf -r f0d570aac9be sys/arch/sparc/fpu/fpu_extern.h
--- a/sys/arch/sparc/fpu/fpu_extern.h   Tue Aug 30 01:13:10 2022 +0000
+++ b/sys/arch/sparc/fpu/fpu_extern.h   Tue Aug 30 01:48:09 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fpu_extern.h,v 1.10 2022/08/28 22:09:26 rin Exp $      */
+/*     $NetBSD: fpu_extern.h,v 1.11 2022/08/30 01:48:09 rin Exp $      */
 
 /*-
  * Copyright (c) 1995 The NetBSD Foundation, Inc.
@@ -91,6 +91,6 @@
 struct fpn *fpu_sqrt(struct fpemu *);
 
 /* fpu_subr.c */
-int fpu_shr(struct fpn *, register int);
+int fpu_shr(struct fpn *, int);
 void fpu_norm(struct fpn *);
 struct fpn *fpu_newnan(struct fpemu *);
diff -r b3e6fd2121bf -r f0d570aac9be sys/arch/sparc/fpu/fpu_subr.c
--- a/sys/arch/sparc/fpu/fpu_subr.c     Tue Aug 30 01:13:10 2022 +0000
+++ b/sys/arch/sparc/fpu/fpu_subr.c     Tue Aug 30 01:48:09 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fpu_subr.c,v 1.7 2022/08/28 22:09:26 rin Exp $ */
+/*     $NetBSD: fpu_subr.c,v 1.8 2022/08/30 01:48:09 rin Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -45,7 +45,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fpu_subr.c,v 1.7 2022/08/28 22:09:26 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fpu_subr.c,v 1.8 2022/08/30 01:48:09 rin Exp $");
 
 #include <sys/types.h>
 #ifdef DIAGNOSTIC
@@ -66,7 +66,7 @@
  * sticky field is ignored anyway.
  */
 int
-fpu_shr(struct fpn *fp, register int rsh)
+fpu_shr(struct fpn *fp, int rsh)
 {
        u_int m0, m1, m2, m3, s;
        int lsh;



Home | Main Index | Thread Index | Old Index