version 1.49, 2011/09/01 09:33:01 |
version 1.49.2.2, 2014/05/22 11:37:53 |
Line 77 __RCSID("$NetBSD$"); |
|
Line 77 __RCSID("$NetBSD$"); |
|
/* |
/* |
* Kernel include files come first. |
* Kernel include files come first. |
*/ |
*/ |
#include <sys/types.h> /* Non-local includes in brackets. */ |
#include <sys/param.h> /* <sys/param.h> first, */ |
|
#include <sys/types.h> /* <sys/types.h> next, */ |
|
#include <sys/ioctl.h> /* and then the rest, */ |
|
#include <sys/socket.h> /* sorted lexicographically. */ |
|
#include <sys/stat.h> |
|
#include <sys/wait.h> /* Non-local includes in brackets. */ |
|
|
/* |
/* |
* If it's a network program, put the network include files next. |
* If it's a network program, put the network include files next. |
Line 91 __RCSID("$NetBSD$"); |
|
Line 96 __RCSID("$NetBSD$"); |
|
|
|
/* |
/* |
* Then there's a blank line, followed by the /usr include files. |
* Then there's a blank line, followed by the /usr include files. |
* The /usr include files should be sorted! |
* The /usr include files should be sorted lexicographically! |
*/ |
*/ |
#include <assert.h> |
#include <assert.h> |
#include <errno.h> |
#include <errno.h> |
Line 354 function(int a1, int a2, float fl, int a |
|
Line 359 function(int a1, int a2, float fl, int a |
|
* not: |
* not: |
* !(p = f()) |
* !(p = f()) |
* |
* |
* The notable exception here is varyadic functions. Since our |
* The notable exception here is variadic functions. Since our |
* code is designed to compile and work on different environments |
* code is designed to compile and work on different environments |
* where we don't have control over the NULL definition (on NetBSD |
* where we don't have control over the NULL definition (on NetBSD |
* it is defined as ((void *)0), but on other systems it can be |
* it is defined as ((void *)0), but on other systems it can be |