[U-Boot] [PATCH 5/9] sandbox: sort header files in os.c
Mike Frysinger
vapier at gentoo.org
Sun Jan 8 09:49:20 CET 2012
On Thursday 05 January 2012 22:54:53 Simon Glass wrote:
> --- a/arch/sandbox/cpu/os.c
> +++ b/arch/sandbox/cpu/os.c
>
> +#include <errno.h>
> #include <fcntl.h>
> +#include <linux/types.h>
> #include <stdlib.h>
> #include <termios.h>
> -#include <unistd.h>
> #include <time.h>
> -#include <errno.h>
> -#include <sys/types.h>
> -#include <sys/stat.h>
> +#include <unistd.h>
> #include <sys/mman.h>
> -#include <linux/types.h>
> +#include <sys/stat.h>
> +#include <sys/types.h>
the order should generally be:
- stuff in include/
- stuff in sys/
- stuff in linux/
- stuff in asm/
each sub-region can be sorted, but i don't think we should go against the
subdir rule
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120108/f2fef496/attachment.pgp>
More information about the U-Boot
mailing list