Re: double include of a header file

Joe (josepha48@yahoo.com)
Wed, 11 Aug 1999 07:51:43 -0700 (PDT)


It has been fixed in 2.2.11, so I guess someone caught it.

--- "Richard B. Johnson" <root@chaos.analogic.com> wrote:
> On Tue, 10 Aug 1999, Joe wrote:
>
> > Hi,
> > I am not a C expert so can someone tell me what the
> benifits
> > / disadvantages of the following lines of code are if there
> are
> > any? The reason I am writning these lists is that I found
> this
> > code in the kernel..
> >
> > #include <asm/irq.h>
> > #include <asm/system.h>
> > #include <asm/irq.h>
> >
> > Joe
>
> You should remove one of the includes and, if the code still
> compiles,
> submit a patch. It is quite possible for source files to have
> multiple
> include-files because of the way code is developed. When you
> find these,
> you should submit a cleanup patch.
>
>
> Cheers,
> Dick Johnson
> **** FILE SYSTEM WAS MODIFIED ****
> Penguin : Linux version 2.2.6 on an i686 machine (400.59
> BogoMips).
> Warning : It's hard to remain at the trailing edge of
> technology.
>
>
>

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/