Lustre Style Guide Includes: Difference between revisions

From Lustre Wiki
Jump to navigation Jump to search
No edit summary
(adding categories)
Line 9: Line 9:


Each group shall be sorted alphanumerically
Each group shall be sorted alphanumerically
[[Category: Development]]

Revision as of 12:24, 4 March 2016

When adding new #include files

Includes should be ordered in the following way:

  1. linux headers
  2. libcfs headers
  3. lnet headers
  4. lustre/include/lustre/* headers
  5. lustre/include/*
  6. *_internal.h and any other "local.h" files

Each group shall be sorted alphanumerically