From: tedu Date: Tue, 16 Dec 2014 21:20:23 +0000 (+0000) Subject: these headers do not need to (and should not) include lock.h poisoning X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b3bdbf714fee03349cb48a26ddc53768ef0b29b5;p=openbsd these headers do not need to (and should not) include lock.h poisoning the namespace. ok deraadt --- diff --git a/sys/arch/amd64/include/cpu.h b/sys/arch/amd64/include/cpu.h index bd654f17dce..3f815e557b5 100644 --- a/sys/arch/amd64/include/cpu.h +++ b/sys/arch/amd64/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.87 2014/12/02 18:13:10 tedu Exp $ */ +/* $OpenBSD: cpu.h,v 1.88 2014/12/16 21:20:23 tedu Exp $ */ /* $NetBSD: cpu.h,v 1.1 2003/04/26 18:39:39 fvdl Exp $ */ /*- @@ -55,7 +55,6 @@ #endif /* _KERNEL */ #include -#include #include #include diff --git a/sys/arch/amd64/include/pic.h b/sys/arch/amd64/include/pic.h index 580738b03cc..59846fbeae6 100644 --- a/sys/arch/amd64/include/pic.h +++ b/sys/arch/amd64/include/pic.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pic.h,v 1.6 2011/05/21 15:58:27 kettenis Exp $ */ +/* $OpenBSD: pic.h,v 1.7 2014/12/16 21:20:23 tedu Exp $ */ /* $NetBSD: pic.h,v 1.1 2003/02/26 21:26:11 fvdl Exp $ */ #ifndef _X86_PIC_H @@ -6,7 +6,6 @@ #include #include -#include struct cpu_info;