Lustre Style Guide Includes: Difference between revisions
Jump to navigation
Jump to search
(Creation) |
No edit summary |
||
Line 2: | Line 2: | ||
Includes should be ordered in the following way: | Includes should be ordered in the following way: | ||
# linux headers | # linux headers | ||
# libcfs headers | |||
# lnet headers | # lnet headers | ||
# lustre/include/lustre/* headers | # lustre/include/lustre/* headers |
Revision as of 07:17, 8 October 2015
When adding new #include files
Includes should be ordered in the following way:
- linux headers
- libcfs headers
- lnet headers
- lustre/include/lustre/* headers
- lustre/include/*
- *_internal.h and any other "local.h" files
Each group shall be sorted alphanumerically