openafs/src/fsprobe
Simon Wilkinson 36524b2ed7 Rationalise our include paths
Our include paths are a bit of a mess. Fix these so that they're
more rational, and more in line with normal coding style.

In particular:
   *) Don't include all of the subdirectories of our top level
      include directory. If a file wants afs/file.h, it should
      include that, not "file.h"
   *) Try to avoid including '.' in the search path (although
      objdir builds make this harder)
   *) Don't blindly include other directories from the code tree
      in the search path. If a package wants another packages header,
      then it should get it from the include directory
   *) Use the convention that quoted includes ("") pick up local
      headers. Bracketed includes (<>) pick up ones from the top level
      include dir
   *) In directories which pull in files from multiple packages, don't
      blindly put all of the package directories in the search path.
      Specifically include the file's package directory when required

The big change here is that it's no longer possible to hide a system
include by placing a header of the same name in include/afs. The most
common case where this was happening was for 'assert.h'

Change-Id: I0796fabcf83ffcd74e533624c64e138a160dd632
Reviewed-on: http://gerrit.openafs.org/834
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2009-11-17 13:12:57 -08:00
..
.gitignore gitignore-20090615 2009-06-15 23:29:29 +00:00
fsprobe_callback.c Miscellaneous warning cleanup 2009-09-28 01:58:16 -07:00
fsprobe_test.c Rationalise our include paths 2009-11-17 13:12:57 -08:00
fsprobe.c Rationalise our include paths 2009-11-17 13:12:57 -08:00
fsprobe.h fsprobe-prototypes-20090315 2009-03-16 02:53:55 +00:00
Makefile.in Update warning management 2009-10-18 06:13:58 -07:00