[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20081112184905.GA28208@Krystal>
Date: Wed, 12 Nov 2008 13:49:06 -0500
From: Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca>
To: Arnaldo Carvalho de Melo <acme@...hat.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] markers: Add missing stdargs.h include, needed due to
va_list usage
* Arnaldo Carvalho de Melo (acme@...hat.com) wrote:
> Em Wed, Nov 12, 2008 at 12:21:47PM -0500, Mathieu Desnoyers escreveu:
> > * Arnaldo Carvalho de Melo (acme@...hat.com) wrote:
> > > diff --git a/include/linux/marker.h b/include/linux/marker.h
> > > index 889196c..6213b5e 100644
> > > --- a/include/linux/marker.h
> > > +++ b/include/linux/marker.h
> > > @@ -12,6 +12,7 @@
> > > * See the file COPYING for more details.
> > > */
> > >
> > > +#include <stdarg.h>
> >
> > Hrm given it's already included in kernel.h for printk, I am not sure
> > it's required here ? Although it cannot hurt to add it explicitly.
>
> Well, its just that while writing code I noticed that if I included
> marker.h as the first include the compilation would fail.
>
> My impression was that if you use something, you should include its
> definition, not relying on the includes hell.
>
Ok,
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca>
Thanks,
Mathieu
> > Mathieu
> >
> > > #include <linux/types.h>
> > >
> > > struct module;
--
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists