Source-Changes-HG archive

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

[src/netbsd-1-6]: src/lib/libm/noieee_src Pull up revision 1.6 (requested by ...



details:   https://anonhg.NetBSD.org/src/rev/a9ca87351c06
branches:  netbsd-1-6
changeset: 527940:a9ca87351c06
user:      lukem <lukem%NetBSD.org@localhost>
date:      Tue Jun 18 13:37:23 2002 +0000

description:
Pull up revision 1.6 (requested by matt in ticket #286):
Ansify libm noieeesrc (for VAX).  Also make const data really const.
libm for VAX can compiles with WARNS=2

diffstat:

 lib/libm/noieee_src/n_asincos.c |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (29 lines):

diff -r 067dd97e319b -r a9ca87351c06 lib/libm/noieee_src/n_asincos.c
--- a/lib/libm/noieee_src/n_asincos.c   Tue Jun 18 13:37:05 2002 +0000
+++ b/lib/libm/noieee_src/n_asincos.c   Tue Jun 18 13:37:23 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: n_asincos.c,v 1.5 1999/07/02 15:37:36 simonb Exp $     */
+/*     $NetBSD: n_asincos.c,v 1.5.10.1 2002/06/18 13:37:23 lukem Exp $ */
 /*
  * Copyright (c) 1985, 1993
  *     The Regents of the University of California.  All rights reserved.
@@ -93,8 +93,7 @@
 #include "mathimpl.h"
 
 double
-asin(x)
-       double x;
+asin(double x)
 {
        double s,t,one=1.0;
 #if !defined(__vax__)&&!defined(tahoe)
@@ -161,8 +160,7 @@
  */
 
 double
-acos(x)
-       double x;
+acos(double x)
 {
        double t,one=1.0;
 #if !defined(__vax__)&&!defined(tahoe)



Home | Main Index | Thread Index | Old Index