header file at a top

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi folks,

I don't understand why in git the .h file is not included as the first
substantive line of the .c file.

i.e:

foo.c
--------------------------------------------------------------------
#include "foo.h"

/* in alphabetical order */
#include "bar.h"
#include "tiz.h"

Any particular reason we include the corresponding header file at some
random position in the source file?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]