summaryrefslogtreecommitdiffstats
path: root/usr.bin/xlint
diff options
context:
space:
mode:
authormpp <mpp@FreeBSD.org>1996-04-09 17:17:31 +0000
committermpp <mpp@FreeBSD.org>1996-04-09 17:17:31 +0000
commita6d857e732dcf7bab8003180e7f8c8de8cc757c3 (patch)
treeab0a1b6e86e57d2d5d0fab7fad5538d5ec43ae06 /usr.bin/xlint
parentd1d944b32e5e9e0eb932ef9b0ba70f7e2811f631 (diff)
downloadFreeBSD-src-a6d857e732dcf7bab8003180e7f8c8de8cc757c3.zip
FreeBSD-src-a6d857e732dcf7bab8003180e7f8c8de8cc757c3.tar.gz
Do not include math.h because it isn't used and it causes
"make world" to fail if you use the msun math library and blow away /usr/include and then do "make world". This is because the msun math.h isn't installed with the other include files before xlint is built. It finally gets installed when the msun library is built. Perhaps "make world" should install the msun math.h file if it doesn't install the CSRG math.h, to prevent problems like this in the future.
Diffstat (limited to 'usr.bin/xlint')
-rw-r--r--usr.bin/xlint/lint1/scan.l1
-rw-r--r--usr.bin/xlint/lint1/tree.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/usr.bin/xlint/lint1/scan.l b/usr.bin/xlint/lint1/scan.l
index 5e23c6b..53f0083 100644
--- a/usr.bin/xlint/lint1/scan.l
+++ b/usr.bin/xlint/lint1/scan.l
@@ -42,7 +42,6 @@ static char rcsid[] = "$NetBSD: scan.l,v 1.8 1995/10/23 13:38:51 jpo Exp $";
#include <float.h>
#include <ctype.h>
#include <errno.h>
-#include <math.h>
#include <err.h>
#include "lint1.h"
diff --git a/usr.bin/xlint/lint1/tree.c b/usr.bin/xlint/lint1/tree.c
index 525e407..36dda83 100644
--- a/usr.bin/xlint/lint1/tree.c
+++ b/usr.bin/xlint/lint1/tree.c
@@ -39,7 +39,6 @@ static char rcsid[] = "$NetBSD: tree.c,v 1.12 1995/10/02 17:37:57 jpo Exp $";
#include <string.h>
#include <float.h>
#include <limits.h>
-#include <math.h>
#include "lint1.h"
#include "y.tab.h"
OpenPOWER on IntegriCloud