Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make math.h is not needed and including it introduce...



details:   https://anonhg.NetBSD.org/src/rev/4252ad519713
branches:  trunk
changeset: 545893:4252ad519713
user:      sjg <sjg%NetBSD.org@localhost>
date:      Thu Apr 17 15:57:52 2003 +0000

description:
math.h is not needed and including it introduces uncessary dependencies
on some systems.

PR: 21204

diffstat:

 usr.bin/make/cond.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r dfb75b15ff22 -r 4252ad519713 usr.bin/make/cond.c
--- a/usr.bin/make/cond.c       Thu Apr 17 14:45:33 2003 +0000
+++ b/usr.bin/make/cond.c       Thu Apr 17 15:57:52 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cond.c,v 1.14 2002/12/30 18:03:09 sjg Exp $    */
+/*     $NetBSD: cond.c,v 1.15 2003/04/17 15:57:52 sjg 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.14 2002/12/30 18:03:09 sjg Exp $";
+static char rcsid[] = "$NetBSD: cond.c,v 1.15 2003/04/17 15:57:52 sjg 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.14 2002/12/30 18:03:09 sjg Exp $");
+__RCSID("$NetBSD: cond.c,v 1.15 2003/04/17 15:57:52 sjg Exp $");
 #endif
 #endif /* not lint */
 #endif
@@ -61,7 +61,6 @@
  */
 
 #include    <ctype.h>
-#include    <math.h>
 
 #include    "make.h"
 #include    "hash.h"



Home | Main Index | Thread Index | Old Index