Lustre Style Guide Includes

From Lustre Wiki
Revision as of 12:24, 4 March 2016 by KenRawlings (talk | contribs) (adding categories)
Jump to navigation Jump to search

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