pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/bootstrap/bmake no need to include <math.h> (it was re...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7ce0ee239d63
branches:  trunk
changeset: 470999:7ce0ee239d63
user:      grant <grant%pkgsrc.org@localhost>
date:      Mon Mar 15 14:20:58 2004 +0000

description:
no need to include <math.h> (it was removed in bmake 3.1.18, too).

this removes a dependency on SUNWlibm on Solaris. noted by Marc Herbert
<Marc.Herbert%sun.com@localhost> way back in April 2003.

diffstat:

 bootstrap/bmake/cond.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 08a305b7cff9 -r 7ce0ee239d63 bootstrap/bmake/cond.c
--- a/bootstrap/bmake/cond.c    Mon Mar 15 14:13:13 2004 +0000
+++ b/bootstrap/bmake/cond.c    Mon Mar 15 14:20:58 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cond.c,v 1.1.1.1 2004/03/11 13:04:01 grant Exp $       */
+/*     $NetBSD: cond.c,v 1.2 2004/03/15 14:20:58 grant Exp $   */
 
 /*
  * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -39,14 +39,14 @@
  */
 
 #ifdef MAKE_BOOTSTRAP
-static char rcsid[] = "$NetBSD: cond.c,v 1.1.1.1 2004/03/11 13:04:01 grant Exp $";
+static char rcsid[] = "$NetBSD: cond.c,v 1.2 2004/03/15 14:20:58 grant Exp $";
 #else
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static char sccsid[] = "@(#)cond.c     8.2 (Berkeley) 1/2/94";
 #else
-__RCSID("$NetBSD: cond.c,v 1.1.1.1 2004/03/11 13:04:01 grant Exp $");
+__RCSID("$NetBSD: cond.c,v 1.2 2004/03/15 14:20:58 grant Exp $");
 #endif
 #endif /* not lint */
 #endif
@@ -61,7 +61,6 @@
  */
 
 #include    <ctype.h>
-#include    <math.h>
 #include    "make.h"
 #include    "hash.h"
 #include    "dir.h"



Home | Main Index | Thread Index | Old Index