[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensolaris-code
Subject:    Re: [osol-code] Code cleanup: redundant include directives
From:       Casper.Dik () Sun ! COM
Date:       2008-02-20 16:40:52
Message-ID: 200802201640.m1KGeqtm005759 () dm-holland-02 ! uk ! sun ! com
[Download RAW message or body]



>Related to that, I've found a few header files where you must include
>a before including b -- essentially 'b' requires definitions in 'a',
>but itself does not include 'a'.  I'd have to go back to find which
>ones specifically (I found them doing some porting of a network
>driver).  Should such behavior be considered a bug?


Depends; in some cases the functionality is defined as include <a> and <b>
and then it should be fine.

Casper

_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic