Subject: bin/21204: make/cond.c #include
To: None <tech-toolchain@netbsd.org>
From: Simon J. Gerraty <sjg@crufty.net>
List: tech-toolchain
Date: 04/16/2003 22:35:39
So, cond.c is the only thing in make that includes math.h
and appears not to need it.  The patch below removes the include.
Why?  To minimize dependencies when building on non-netbsd platforms 
eg SunOS needs to then have libm available.

Anyone think of a reason to keep the math.h include?

Thanks
--sjg

Index: cond.c
===================================================================
RCS file: /cvsroot/src/usr.bin/make/cond.c,v
retrieving revision 1.14
diff -u -p -r1.14 cond.c
--- cond.c	2002/12/30 18:03:09	1.14
+++ cond.c	2003/04/17 05:31:52
@@ -61,7 +61,6 @@ __RCSID("$NetBSD: cond.c,v 1.14 2002/12/
  */
 
 #include    <ctype.h>
-#include    <math.h>
 
 #include    "make.h"
 #include    "hash.h"