Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/arch/mips/gen Do the minimum work to make this comp...



details:   https://anonhg.NetBSD.org/src/rev/7aed01f7856d
branches:  trunk
changeset: 482787:7aed01f7856d
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Tue Feb 22 03:14:20 2000 +0000

description:
Do the minimum work to make this compile with -Werror.

diffstat:

 lib/libc/arch/mips/gen/sf_fpgetmask.c   |  4 +++-
 lib/libc/arch/mips/gen/sf_fpgetround.c  |  4 +++-
 lib/libc/arch/mips/gen/sf_fpgetsticky.c |  4 +++-
 lib/libc/arch/mips/gen/sf_fpsetmask.c   |  5 +++--
 lib/libc/arch/mips/gen/sf_fpsetround.c  |  6 +++---
 lib/libc/arch/mips/gen/sf_fpsetsticky.c |  4 +++-
 6 files changed, 18 insertions(+), 9 deletions(-)

diffs (123 lines):

diff -r 1118d422fc18 -r 7aed01f7856d lib/libc/arch/mips/gen/sf_fpgetmask.c
--- a/lib/libc/arch/mips/gen/sf_fpgetmask.c     Tue Feb 22 02:38:26 2000 +0000
+++ b/lib/libc/arch/mips/gen/sf_fpgetmask.c     Tue Feb 22 03:14:20 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sf_fpgetmask.c,v 1.2 1999/12/26 00:22:31 shin Exp $    */
+/*     $NetBSD: sf_fpgetmask.c,v 1.3 2000/02/22 03:14:20 mycroft Exp $ */
 
 /*
  * Written by J.T. Conklin, Apr 11, 1995
@@ -7,6 +7,8 @@
 
 #include <ieeefp.h>
 
+int _mips_sfp_getmask __P((void));
+
 fp_except
 fpgetmask()
 {
diff -r 1118d422fc18 -r 7aed01f7856d lib/libc/arch/mips/gen/sf_fpgetround.c
--- a/lib/libc/arch/mips/gen/sf_fpgetround.c    Tue Feb 22 02:38:26 2000 +0000
+++ b/lib/libc/arch/mips/gen/sf_fpgetround.c    Tue Feb 22 03:14:20 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sf_fpgetround.c,v 1.2 1999/12/26 00:22:32 shin Exp $   */
+/*     $NetBSD: sf_fpgetround.c,v 1.3 2000/02/22 03:14:20 mycroft Exp $        */
 
 /*
  * Copyright (c) 1996 Mark Brinicombe
@@ -53,6 +53,8 @@
  * soft float FP libraries.
  */
 
+int _mips_sfp_getround __P((void));
+
 fp_rnd
 fpgetround()
 {
diff -r 1118d422fc18 -r 7aed01f7856d lib/libc/arch/mips/gen/sf_fpgetsticky.c
--- a/lib/libc/arch/mips/gen/sf_fpgetsticky.c   Tue Feb 22 02:38:26 2000 +0000
+++ b/lib/libc/arch/mips/gen/sf_fpgetsticky.c   Tue Feb 22 03:14:20 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sf_fpgetsticky.c,v 1.2 1999/12/26 00:22:32 shin Exp $  */
+/*     $NetBSD: sf_fpgetsticky.c,v 1.3 2000/02/22 03:14:21 mycroft Exp $       */
 
 /*
  * Written by J.T. Conklin, Apr 11, 1995
@@ -7,6 +7,8 @@
 
 #include <ieeefp.h>
 
+int _mips_sfp_getsticky __P((void));
+
 fp_except
 fpgetsticky()
 {
diff -r 1118d422fc18 -r 7aed01f7856d lib/libc/arch/mips/gen/sf_fpsetmask.c
--- a/lib/libc/arch/mips/gen/sf_fpsetmask.c     Tue Feb 22 02:38:26 2000 +0000
+++ b/lib/libc/arch/mips/gen/sf_fpsetmask.c     Tue Feb 22 03:14:20 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sf_fpsetmask.c,v 1.2 1999/12/26 00:22:32 shin Exp $    */
+/*     $NetBSD: sf_fpsetmask.c,v 1.3 2000/02/22 03:14:21 mycroft Exp $ */
 
 /*
  * Written by J.T. Conklin, Apr 11, 1995
@@ -7,12 +7,13 @@
 
 #include <ieeefp.h>
 
+void _mips_sfp_setmask __P((int mask));
+
 fp_except
 fpsetmask(mask)
        fp_except mask;
 {
        fp_except old;
-       fp_except new;
 
        old = _mips_sfp_getmask();
        _mips_sfp_setmask(mask);
diff -r 1118d422fc18 -r 7aed01f7856d lib/libc/arch/mips/gen/sf_fpsetround.c
--- a/lib/libc/arch/mips/gen/sf_fpsetround.c    Tue Feb 22 02:38:26 2000 +0000
+++ b/lib/libc/arch/mips/gen/sf_fpsetround.c    Tue Feb 22 03:14:20 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sf_fpsetround.c,v 1.2 1999/12/26 00:22:32 shin Exp $   */
+/*     $NetBSD: sf_fpsetround.c,v 1.3 2000/02/22 03:14:22 mycroft Exp $        */
 
 /*
  * Copyright (c) 1996 Mark Brinicombe
@@ -34,8 +34,6 @@
 #include <sys/types.h>
 #include <ieeefp.h>
 
-void _mips_sfp_setround __P((fp_rnd));
-
 /*
  * Return the current FP rounding mode
  *
@@ -54,6 +52,8 @@
  * soft float FP libraries.
  */
 
+void _mips_sfp_setround __P((int rnd_dir));
+
 fp_rnd
 fpsetround(rnd_dir)
        fp_rnd rnd_dir;
diff -r 1118d422fc18 -r 7aed01f7856d lib/libc/arch/mips/gen/sf_fpsetsticky.c
--- a/lib/libc/arch/mips/gen/sf_fpsetsticky.c   Tue Feb 22 02:38:26 2000 +0000
+++ b/lib/libc/arch/mips/gen/sf_fpsetsticky.c   Tue Feb 22 03:14:20 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sf_fpsetsticky.c,v 1.2 1999/12/26 00:22:32 shin Exp $  */
+/*     $NetBSD: sf_fpsetsticky.c,v 1.3 2000/02/22 03:14:22 mycroft Exp $       */
 
 /*
  * Written by J.T. Conklin, Apr 11, 1995
@@ -7,6 +7,8 @@
 
 #include <ieeefp.h>
 
+void _mips_sfp_setsticky __P((int except));
+
 fp_except
 fpsetsticky(sticky)
        fp_except sticky;



Home | Main Index | Thread Index | Old Index