Re: double include of a header file

Robert M. Hyatt (hyatt@cis.uab.edu)
Wed, 11 Aug 1999 20:59:47 -0500 (CDT)


Shouldn't cause any problems if the header file is written correctly.
Most check and if it has been included once, the second inclusion does
nothing. Ought to be removed of course... but it doesn't hurt anything.

Robert Hyatt Computer and Information Sciences
hyatt@cis.uab.edu University of Alabama at Birmingham
(205) 934-2213 115A Campbell Hall, UAB Station
(205) 934-5473 FAX Birmingham, AL 35294-1170

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
> _____________________________________________________________
> Do You Yahoo!?
> Bid and sell for free at http://auctions.yahoo.com
>
> -
> Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
> To Unsubscribe: send "unsubscribe linux-smp" to majordomo@vger.rutgers.edu
>

-
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/