DragonFly kernel List (threaded) for 2007-06
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
#ifndef's before including the headers (redundant inclusion test?)
Hi.
Why is the following test necessary before including headers? (for
example in sys/netgraph/netgraph.h).
#ifndef _SYS_QUEUE_H_
#include <sys/queue.h>
#endif
when <sys/queue.h> already tests for inclusion?
#ifndef _SYS_QUEUE_H_
#define _SYS_QUEUE_H_
. ..
#endif
Thanks,
Nuno
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]