usr.bin/make sysclt.h on all archs and increase WARNS to 3

Max Okumoto okumoto at ucsd.edu
Wed Dec 1 15:49:32 PST 2004


PatchSet 378
Date: 2004/11/25 12:50:16
Author: harti
Log:
Include sys/sysctl.h on all architectures not only i386.
Increased WARNS to 3
---------------------
PatchSet 378
Date: 2004/11/25 12:50:16
Author: harti
Log:
Include sys/sysctl.h on all architectures not only i386.
Increased WARNS to 3

Members: 
	Makefile:1.34->1.35 
	main.c:1.99->1.100 

Index: Makefile
===================================================================
RCS file: /usr/home/okumoto/Work/make/fbsd-cvs/src/usr.bin/make/Makefile,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- Makefile	6 Sep 2004 15:25:07 -0000	1.34
+++ Makefile	25 Nov 2004 12:50:16 -0000	1.35
@@ -13,6 +13,7 @@
 	lstMember.c lstNext.c lstOpen.c lstRemove.c lstReplace.c lstSucc.c
 .PATH:	${.CURDIR}/lst.lib
 
+WARNS?=	3
 NOSHARED?=	YES
 
 CFLAGS+=-DMAKE_VERSION=\"5200408120\"
Index: main.c
===================================================================
RCS file: /usr/home/okumoto/Work/make/fbsd-cvs/src/usr.bin/make/main.c,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -r1.99 -r1.100
--- main.c	24 Nov 2004 22:03:45 -0000	1.99
+++ main.c	25 Nov 2004 12:50:16 -0000	1.100
@@ -63,9 +63,7 @@
 #include <sys/param.h>
 #include <sys/signal.h>
 #include <sys/stat.h>
-#if defined(__i386__)
 #include <sys/sysctl.h>
-#endif
 #include <sys/time.h>
 #include <sys/resource.h>
 #ifndef MACHINE




More information about the Submit mailing list