Subject: RE: includes question
To: 'manu@netbsd.org' <manu@netbsd.org>
From: Chris Hopps <chopps@allegronetworks.com>
List: tech-kern
Date: 11/03/2002 10:02:18
It's a style choice as far as I know. The reason I use this style in my own
projects is that you can clearly see in your source file which headers the
source file depends on.

Chris

-----Original Message-----
From: manu@netbsd.org [mailto:manu@netbsd.org] 
Sent: Sunday, November 03, 2002 9:56 AM
To: tech-kern@netbsd.org
Subject: includes question

An include question:

When I include <sys/syscall.h>, I need to include <sys/types>,
<sys/proc.h>, <sys/param.h> ...

There are other similar situations in kernel headers. Is there a reason
why we don't include the requested headers for each kernel header file?

-- 
Emmanuel Dreyfus.
NetBSD, parceque je le vaux bien.
manu@netbsd.org