state that "kernel includes" ==> sys/*.h

This commit is contained in:
David E. O'Brien 1997-11-12 06:29:10 +00:00
parent b1f4a44b03
commit d927c2c392
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=31133

View File

@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" $Id: style.9,v 1.17 1997/04/09 19:03:14 mpp Exp $
.\" $Id: style.9,v 1.18 1997/05/27 10:00:08 peter Exp $
.\"
.Dd December 14, 1995
.Dt STYLE 9
@ -51,7 +51,8 @@ source tree. It is also a guide for preferred user land code style.
*/
.Ed
.Pp
Kernel include files come first; normally, you'll need <sys/types.h>
Kernel include files (i.e. sys/*.h) come first; normally, you'll need
<sys/types.h>
OR <sys/param.h>, but not both! <sys/types.h> includes <sys/cdefs.h>,
and it's okay to depend on that.
.Bd -literal -offset 0i