From: Tristan Gingold Subject: PATCH: makes some implicit includes explicit Date: Fri, 18 Aug 2006 17:41:18 +0200 Message-ID: <200608181741.18263.Tristan.Gingold@bull.net> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_e+d5E9RHT5sbvCL" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com, Keir Fraser List-Id: xen-devel@lists.xenproject.org --Boundary-00=_e+d5E9RHT5sbvCL Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, during include/asm-ia64 cleanup, I noticed some includes (mostly xen/errno.h) were implicitly included (ie through other .h files). I think it is better to make them explicit. Tested on xen/ia64. Tristan. --Boundary-00=_e+d5E9RHT5sbvCL Content-Type: text/x-diff; charset="us-ascii"; name="xen-include1.diffs" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xen-include1.diffs" # HG changeset patch # User gingold@virtu10 # Node ID 9db43ac6485fac8ed65d8dff2e644c42033ebe72 # Parent 8c6bb45901e7679462bb5edbfb69ee34d8616e95 Make some implicit includes explicit. Signed-off-by: Tristan Gingold diff -r 8c6bb45901e7 -r 9db43ac6485f xen/common/elf.c --- a/xen/common/elf.c Wed Aug 16 14:28:57 2006 -0600 +++ b/xen/common/elf.c Fri Aug 18 15:40:28 2006 +0200 @@ -10,6 +10,7 @@ #include #include #include +#include static void loadelfsymtab(struct domain_setup_info *dsi, int doload); static inline int is_loadable_phdr(Elf_Phdr *phdr) diff -r 8c6bb45901e7 -r 9db43ac6485f xen/common/memory.c --- a/xen/common/memory.c Wed Aug 16 14:28:57 2006 -0600 +++ b/xen/common/memory.c Fri Aug 18 15:40:28 2006 +0200 @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include diff -r 8c6bb45901e7 -r 9db43ac6485f xen/common/rangeset.c --- a/xen/common/rangeset.c Wed Aug 16 14:28:57 2006 -0600 +++ b/xen/common/rangeset.c Fri Aug 18 15:40:28 2006 +0200 @@ -8,6 +8,7 @@ */ #include +#include #include /* An inclusive range [s,e] and pointer to next range in ascending order. */ diff -r 8c6bb45901e7 -r 9db43ac6485f xen/common/sched_bvt.c --- a/xen/common/sched_bvt.c Wed Aug 16 14:28:57 2006 -0600 +++ b/xen/common/sched_bvt.c Fri Aug 18 15:40:28 2006 +0200 @@ -24,6 +24,7 @@ #include #include #include +#include /* all per-domain BVT-specific scheduling info is stored here */ struct bvt_vcpu_info diff -r 8c6bb45901e7 -r 9db43ac6485f xen/common/sched_credit.c --- a/xen/common/sched_credit.c Wed Aug 16 14:28:57 2006 -0600 +++ b/xen/common/sched_credit.c Fri Aug 18 15:40:28 2006 +0200 @@ -20,7 +20,7 @@ #include #include #include - +#include /* * CSCHED_STATS diff -r 8c6bb45901e7 -r 9db43ac6485f xen/common/sched_sedf.c --- a/xen/common/sched_sedf.c Wed Aug 16 14:28:57 2006 -0600 +++ b/xen/common/sched_sedf.c Fri Aug 18 15:40:28 2006 +0200 @@ -12,6 +12,7 @@ #include #include #include +#include /*verbosity settings*/ #define SEDFLEVEL 0 diff -r 8c6bb45901e7 -r 9db43ac6485f xen/common/schedule.c --- a/xen/common/schedule.c Wed Aug 16 14:28:57 2006 -0600 +++ b/xen/common/schedule.c Fri Aug 18 15:40:28 2006 +0200 @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include diff -r 8c6bb45901e7 -r 9db43ac6485f xen/common/trace.c --- a/xen/common/trace.c Wed Aug 16 14:28:57 2006 -0600 +++ b/xen/common/trace.c Fri Aug 18 15:40:28 2006 +0200 @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include diff -r 8c6bb45901e7 -r 9db43ac6485f xen/drivers/char/serial.c --- a/xen/drivers/char/serial.c Wed Aug 16 14:28:57 2006 -0600 +++ b/xen/drivers/char/serial.c Fri Aug 18 15:40:28 2006 +0200 @@ -12,6 +12,7 @@ #include #include #include +#include #include static struct serial_port com[2] = { diff -r 8c6bb45901e7 -r 9db43ac6485f xen/include/xen/console.h --- a/xen/include/xen/console.h Wed Aug 16 14:28:57 2006 -0600 +++ b/xen/include/xen/console.h Fri Aug 18 15:40:28 2006 +0200 @@ -9,6 +9,7 @@ #include #include +#include void set_printk_prefix(const char *prefix); --Boundary-00=_e+d5E9RHT5sbvCL Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --Boundary-00=_e+d5E9RHT5sbvCL--