openafs/src
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
..
afs Use set_page_writeback and end_page_writeback 2009-11-12 19:27:07 -08:00
afsd Fix dynamic vcache / rxmaxmtu cmd id collision 2009-10-26 15:03:55 -07:00
afsinstall windows-pcache-20050310 2005-03-11 05:33:12 +00:00
afsmonitor Rationalise our include paths 2009-11-17 13:12:57 -08:00
afsweb Unix client: wrappers for credentials structure access 2009-11-09 08:19:06 -08:00
aklog Rationalise our include paths 2009-11-17 13:12:57 -08:00
audit Rationalise our include paths 2009-11-17 13:12:57 -08:00
auth ktc remove unused variable 2009-11-16 17:59:43 -08:00
bozo Fix des key type issue in bosoprocs 2009-11-11 09:16:59 -08:00
bu_utils Don't cast the pointer past to memset 2009-10-21 11:34:12 -07:00
bubasics Add server prefix to bumon.xg; avoid rx_call * vs rx_connection * warning 2009-10-19 16:42:58 -07:00
bucoord Rationalise our include paths 2009-11-17 13:12:57 -08:00
budb Update warning inhibition 2009-11-11 09:17:56 -08:00
butc Prototype UV_Bind 2009-11-11 09:15:56 -08:00
butm Windows does not provide sys/wait.h 2009-10-14 20:20:21 -07:00
cf Linux: Fix write_begin configure test for recent RHEL kernels 2009-11-02 04:43:42 -08:00
cmd Remove warnings related to type-punning 2009-10-08 07:59:18 -07:00
comerr Rationalise our include paths 2009-11-17 13:12:57 -08:00
config Rationalise our include paths 2009-11-17 13:12:57 -08:00
des Rationalise our include paths 2009-11-17 13:12:57 -08:00
dir Use intptr_t and uintptr_t for integer/pointer conversions 2009-09-28 02:40:48 -07:00
export Remove the RCSID macro 2009-07-09 22:58:37 -06:00
finale Windows: Permit build system to update symbol store 2009-08-19 10:19:43 -07:00
fsint Fix rxgen-generated warnings 2009-10-16 13:11:02 -07:00
fsprobe Rationalise our include paths 2009-11-17 13:12:57 -08:00
gtx Correct and use AFS_SIZET_FMT 2009-10-07 20:09:30 -07:00
JAVA Remove CVS ignore files 2009-07-06 11:03:16 -06:00
kauth Rationalise our include paths 2009-11-17 13:12:57 -08:00
kopenafs Use an anonymous pointer for lpioctl 2009-07-28 07:24:10 -07:00
libacl Tidy up libacl 2009-07-10 10:34:35 -06:00
libadmin Rationalise our include paths 2009-11-17 13:12:57 -08:00
libafs create LINUX24 directory 2009-10-03 16:17:49 -07:00
libafsauthent Rationalise our include paths 2009-11-17 13:12:57 -08:00
libafsrpc Rationalise our include paths 2009-11-17 13:12:57 -08:00
libuafs Update warning inhibition 2009-11-11 09:17:56 -08:00
log Tidy up unlog 2009-09-28 01:35:38 -07:00
lwp asm unexecutable stack 2009-11-16 16:45:08 -08:00
mcas Add tracing to MCAS allocator and GC 2009-09-03 12:35:25 -07:00
packaging OSX Launchd Startup Manage with Preference Pane 2009-10-05 05:04:55 -07:00
pam src/pam/afs_auth.c warning fix 2009-11-11 07:24:42 -08:00
platform AFSPreference Pane Mounts View refresh issue 2009-10-19 11:08:31 -07:00
procmgmt Windows: Permit build system to update symbol store 2009-08-19 10:19:43 -07:00
ptserver Update warning inhibition 2009-11-11 09:17:56 -08:00
rx Move PMTU header block to top of file 2009-10-28 12:01:54 -07:00
rxdebug Rationalise our include paths 2009-11-17 13:12:57 -08:00
rxgen Don't cast the pointer past to memset 2009-10-21 11:34:12 -07:00
rxkad Rationalise our include paths 2009-11-17 13:12:57 -08:00
rxstat Make rxgen emit prototype for ExecuteRequest 2009-07-29 18:42:47 -07:00
scout Rationalise our include paths 2009-11-17 13:12:57 -08:00
sgistuff Don't cast the pointer past to memset 2009-10-21 11:34:12 -07:00
shlibafsauthent Windows: Permit build system to update symbol store 2009-08-19 10:19:43 -07:00
shlibafsrpc Rationalise our include paths 2009-11-17 13:12:57 -08:00
sys Rationalise our include paths 2009-11-17 13:12:57 -08:00
tbudb Remove CVS ignore files 2009-07-06 11:03:16 -06:00
tbutc Fix warnings in butc, tbutc, and butm 2009-10-13 18:34:05 -07:00
tests afscp warnings cleanup 2009-10-20 15:02:35 -07:00
tools gitignore-20090615 2009-06-15 23:29:29 +00:00
tptserver Remove CVS ignore files 2009-07-06 11:03:16 -06:00
tsalvaged Rationalise our include paths 2009-11-17 13:12:57 -08:00
tsm41 Don't cast the pointer past to memset 2009-10-21 11:34:12 -07:00
tubik Remove CVS ignore files 2009-07-06 11:03:16 -06:00
tviced Rationalise our include paths 2009-11-17 13:12:57 -08:00
tvlserver Remove CVS ignore files 2009-07-06 11:03:16 -06:00
tvolser Rationalise our include paths 2009-11-17 13:12:57 -08:00
ubik Rationalise our include paths 2009-11-17 13:12:57 -08:00
update snowleopard 64 bit warning death 2009-10-16 05:54:46 -07:00
usd Rationalise our include paths 2009-11-17 13:12:57 -08:00
uss Rationalise our include paths 2009-11-17 13:12:57 -08:00
util macos fstrace msgcat search path 2009-11-04 05:30:18 -08:00
venus Don't cast the pointer past to memset 2009-10-21 11:34:12 -07:00
vfsck Don't cast the pointer past to memset 2009-10-21 11:34:12 -07:00
viced Rationalise our include paths 2009-11-17 13:12:57 -08:00
vlserver Rationalise our include paths 2009-11-17 13:12:57 -08:00
vol Rationalise our include paths 2009-11-17 13:12:57 -08:00
volser Rationalise our include paths 2009-11-17 13:12:57 -08:00
WINNT Windows: Error mapping for VBUSY and VRESTARTING 2009-11-16 14:52:53 -08:00
xstat Rationalise our include paths 2009-11-17 13:12:57 -08:00
.gitignore gitignore-20090615 2009-06-15 23:29:29 +00:00
BUILDNOTES introduce-autoconf-for-openafs-20010628 2001-06-28 06:44:19 +00:00
DOLASTCMP.BAT shadow-to-jaltman-bkbox-02-20031121 2003-11-21 15:41:04 +00:00
helper-splint.sh.in splint-support-20030701 2003-07-02 02:03:17 +00:00
libafsdep libafsdep-des-stats-20050618 2005-06-19 00:15:22 +00:00
LICENSE ka-forwarder-licensing-20070508 2007-05-08 23:49:44 +00:00
mkdest.pl win95-initial-port-20010430 2001-04-30 08:03:55 +00:00
ntbuild.bat windows-build-20080725 2008-07-25 21:25:55 +00:00
NTMakefile Correct build rules for NSIS in top-level NTMakefile 2009-07-15 23:56:47 -06:00
NTObjdir death-to-des-stub-20060801 2006-08-01 21:19:53 +00:00
rmbat.bat winnt-win2000-win98-afs-client-updates-20010623 2001-06-23 18:29:56 +00:00
rmbat.rsp winnt-win2000-win98-afs-client-updates-20010623 2001-06-23 18:29:56 +00:00
SOURCE-MAP death-to-package-20060801 2006-08-01 23:27:20 +00:00
splint.cfg splint-support-20030701 2003-07-02 02:03:17 +00:00
symlink.bat win95-initial-port-20010430 2001-04-30 08:03:55 +00:00
TechNotes-JavaAPI jafs-library-20020725 2002-07-26 06:33:59 +00:00