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/b84e269246a0
branches:  netbsd-1-6
changeset: 527944:b84e269246a0
user:      lukem <lukem%NetBSD.org@localhost>
date:      Tue Jun 18 13:37:59 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_atanh.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 234839f97cab -r b84e269246a0 lib/libm/noieee_src/n_atanh.c
--- a/lib/libm/noieee_src/n_atanh.c     Tue Jun 18 13:37:50 2002 +0000
+++ b/lib/libm/noieee_src/n_atanh.c     Tue Jun 18 13:37:59 2002 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: n_atanh.c,v 1.5 1999/07/02 15:37:36 simonb Exp $ */
+/*      $NetBSD: n_atanh.c,v 1.5.10.1 2002/06/18 13:37:59 lukem Exp $ */
 /*
  * Copyright (c) 1985, 1993
  *     The Regents of the University of California.  All rights reserved.
@@ -70,8 +70,8 @@
 #include <errno.h>
 #endif /* defined(__vax__)||defined(tahoe) */
 
-double atanh(x)
-double x;
+double
+atanh(double x)
 {
        double z;
        z = copysign(0.5,x);



Home | Main Index | Thread Index | Old Index