diff --git a/src/afs/AIX/osi_config.c b/src/afs/AIX/osi_config.c index 860962f132..4e7021790a 100644 --- a/src/afs/AIX/osi_config.c +++ b/src/afs/AIX/osi_config.c @@ -34,6 +34,10 @@ */ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #include "sys/limits.h" #include "sys/types.h" #include "sys/user.h" @@ -53,7 +57,6 @@ #include /* For the timer related defines */ #include /* for the serialization defines */ #include /* for the parameters to xmalloc() */ -#include "afs/param.h" #include "afs/afs_osi.h" /* pick up osi_timeval_t for afs_stats.h */ #include "afs/afs_stats.h" #include "export.h" diff --git a/src/afs/AIX/osi_file.c b/src/afs/AIX/osi_file.c index dcf6cfcd86..0a39f725b2 100644 --- a/src/afs/AIX/osi_file.c +++ b/src/afs/AIX/osi_file.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* afs statistics */ diff --git a/src/afs/AIX/osi_groups.c b/src/afs/AIX/osi_groups.c index ca4cd5672c..a9f60478f1 100644 --- a/src/afs/AIX/osi_groups.c +++ b/src/afs/AIX/osi_groups.c @@ -14,6 +14,10 @@ * */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/AIX/osi_inode.c b/src/afs/AIX/osi_inode.c index c6ff792868..b9588f82a9 100644 --- a/src/afs/AIX/osi_inode.c +++ b/src/afs/AIX/osi_inode.c @@ -14,6 +14,10 @@ * */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/osi_inode.h" diff --git a/src/afs/AIX/osi_misc.c b/src/afs/AIX/osi_misc.c index aff1a1d5fd..9a9ca712e4 100644 --- a/src/afs/AIX/osi_misc.c +++ b/src/afs/AIX/osi_misc.c @@ -17,6 +17,10 @@ */ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #include "../h/systm.h" #include "../h/types.h" #include "../h/errno.h" diff --git a/src/afs/AIX/osi_sleep.c b/src/afs/AIX/osi_sleep.c index 41c5f71d43..a4b754ee1a 100644 --- a/src/afs/AIX/osi_sleep.c +++ b/src/afs/AIX/osi_sleep.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* afs statistics */ diff --git a/src/afs/AIX/osi_timeout.c b/src/afs/AIX/osi_timeout.c index 55084ce248..de8c44f2e6 100644 --- a/src/afs/AIX/osi_timeout.c +++ b/src/afs/AIX/osi_timeout.c @@ -13,6 +13,10 @@ * Implements: */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "sys/limits.h" diff --git a/src/afs/AIX/osi_vfsops.c b/src/afs/AIX/osi_vfsops.c index 89086fca39..5a45218552 100644 --- a/src/afs/AIX/osi_vfsops.c +++ b/src/afs/AIX/osi_vfsops.c @@ -11,6 +11,10 @@ * osi_vfsops.c for AIX */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics stuff */ diff --git a/src/afs/AIX/osi_vm.c b/src/afs/AIX/osi_vm.c index 2f80661625..912e4f3962 100644 --- a/src/afs/AIX/osi_vm.c +++ b/src/afs/AIX/osi_vm.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/AIX/osi_vnodeops.c b/src/afs/AIX/osi_vnodeops.c index b2f5d7ea85..6f8e5f10d6 100644 --- a/src/afs/AIX/osi_vnodeops.c +++ b/src/afs/AIX/osi_vnodeops.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #include "../h/systm.h" #include "../h/types.h" #include "../h/errno.h" diff --git a/src/afs/DARWIN/osi_file.c b/src/afs/DARWIN/osi_file.c index fee6113d05..84f6bf0f5f 100644 --- a/src/afs/DARWIN/osi_file.c +++ b/src/afs/DARWIN/osi_file.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* afs statistics */ diff --git a/src/afs/DARWIN/osi_groups.c b/src/afs/DARWIN/osi_groups.c index 9fcb36ac98..88971463b7 100644 --- a/src/afs/DARWIN/osi_groups.c +++ b/src/afs/DARWIN/osi_groups.c @@ -15,6 +15,10 @@ * */ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/DARWIN/osi_inode.c b/src/afs/DARWIN/osi_inode.c index 30b5154d53..bdeab2a1c3 100644 --- a/src/afs/DARWIN/osi_inode.c +++ b/src/afs/DARWIN/osi_inode.c @@ -13,6 +13,10 @@ * */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/osi_inode.h" diff --git a/src/afs/DARWIN/osi_misc.c b/src/afs/DARWIN/osi_misc.c index 65daf7a732..5036090de0 100644 --- a/src/afs/DARWIN/osi_misc.c +++ b/src/afs/DARWIN/osi_misc.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" #include diff --git a/src/afs/DARWIN/osi_module.c b/src/afs/DARWIN/osi_module.c index 0fd1443322..964d8ea55f 100644 --- a/src/afs/DARWIN/osi_module.c +++ b/src/afs/DARWIN/osi_module.c @@ -1,4 +1,8 @@ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" #include "../sys/syscall.h" diff --git a/src/afs/DARWIN/osi_sleep.c b/src/afs/DARWIN/osi_sleep.c index 18ea554421..13bc99b0b6 100644 --- a/src/afs/DARWIN/osi_sleep.c +++ b/src/afs/DARWIN/osi_sleep.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* afs statistics */ diff --git a/src/afs/DARWIN/osi_vfsops.c b/src/afs/DARWIN/osi_vfsops.c index 670f0ade37..e9ea2f7ed1 100644 --- a/src/afs/DARWIN/osi_vfsops.c +++ b/src/afs/DARWIN/osi_vfsops.c @@ -1,4 +1,8 @@ #include /* Should be always first */ +#include + +RCSID("$Header$"); + #include /* Standard vendor system headers */ #include /* Afs-based standard headers */ #include /* statistics */ diff --git a/src/afs/DARWIN/osi_vm.c b/src/afs/DARWIN/osi_vm.c index bcbef7e2a4..cafa3b0a8f 100644 --- a/src/afs/DARWIN/osi_vm.c +++ b/src/afs/DARWIN/osi_vm.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/DARWIN/osi_vnodeops.c b/src/afs/DARWIN/osi_vnodeops.c index 37e6029d5d..61539f7d56 100644 --- a/src/afs/DARWIN/osi_vnodeops.c +++ b/src/afs/DARWIN/osi_vnodeops.c @@ -1,4 +1,8 @@ #include /* Should be always first */ +#include + +RCSID("$Header$"); + #include /* Standard vendor system headers */ #include /* Afs-based standard headers */ #include /* statistics */ diff --git a/src/afs/DUX/osi_file.c b/src/afs/DUX/osi_file.c index 7391e87d8c..b3a93d7b9c 100644 --- a/src/afs/DUX/osi_file.c +++ b/src/afs/DUX/osi_file.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* afs statistics */ diff --git a/src/afs/DUX/osi_groups.c b/src/afs/DUX/osi_groups.c index e3cd3c4425..bea91cf134 100644 --- a/src/afs/DUX/osi_groups.c +++ b/src/afs/DUX/osi_groups.c @@ -14,6 +14,10 @@ * */ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/DUX/osi_inode.c b/src/afs/DUX/osi_inode.c index 9e77761602..e053778161 100644 --- a/src/afs/DUX/osi_inode.c +++ b/src/afs/DUX/osi_inode.c @@ -14,6 +14,10 @@ * */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/osi_inode.h" diff --git a/src/afs/DUX/osi_misc.c b/src/afs/DUX/osi_misc.c index d6b3bd6834..312270d4a4 100644 --- a/src/afs/DUX/osi_misc.c +++ b/src/afs/DUX/osi_misc.c @@ -13,6 +13,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ diff --git a/src/afs/DUX/osi_sleep.c b/src/afs/DUX/osi_sleep.c index 2486f55f8d..2fe54d8175 100644 --- a/src/afs/DUX/osi_sleep.c +++ b/src/afs/DUX/osi_sleep.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* afs statistics */ diff --git a/src/afs/DUX/osi_vfsops.c b/src/afs/DUX/osi_vfsops.c index 87342e45ed..7f8d19acd2 100644 --- a/src/afs/DUX/osi_vfsops.c +++ b/src/afs/DUX/osi_vfsops.c @@ -11,6 +11,10 @@ * osi_vfsops.c for DUX */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics stuff */ diff --git a/src/afs/DUX/osi_vm.c b/src/afs/DUX/osi_vm.c index 5eb0430e37..9d351130e2 100644 --- a/src/afs/DUX/osi_vm.c +++ b/src/afs/DUX/osi_vm.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/DUX/osi_vnodeops.c b/src/afs/DUX/osi_vnodeops.c index b4424ad589..efb4076633 100644 --- a/src/afs/DUX/osi_vnodeops.c +++ b/src/afs/DUX/osi_vnodeops.c @@ -12,6 +12,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ diff --git a/src/afs/FBSD/osi_file.c b/src/afs/FBSD/osi_file.c index ba711ae505..5909165ddf 100644 --- a/src/afs/FBSD/osi_file.c +++ b/src/afs/FBSD/osi_file.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* afs statistics */ diff --git a/src/afs/FBSD/osi_groups.c b/src/afs/FBSD/osi_groups.c index 6e3ef483d8..9e3296591a 100644 --- a/src/afs/FBSD/osi_groups.c +++ b/src/afs/FBSD/osi_groups.c @@ -16,6 +16,10 @@ * */ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/FBSD/osi_inode.c b/src/afs/FBSD/osi_inode.c index 1c4fc66b4e..77a92ac0f0 100644 --- a/src/afs/FBSD/osi_inode.c +++ b/src/afs/FBSD/osi_inode.c @@ -14,6 +14,10 @@ * */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/osi_inode.h" diff --git a/src/afs/FBSD/osi_misc.c b/src/afs/FBSD/osi_misc.c index 00d91cf6c5..3c27eaf828 100644 --- a/src/afs/FBSD/osi_misc.c +++ b/src/afs/FBSD/osi_misc.c @@ -15,6 +15,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ diff --git a/src/afs/FBSD/osi_sleep.c b/src/afs/FBSD/osi_sleep.c index 84bd0be409..fe8f6b2f7a 100644 --- a/src/afs/FBSD/osi_sleep.c +++ b/src/afs/FBSD/osi_sleep.c @@ -9,6 +9,10 @@ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* afs statistics */ diff --git a/src/afs/FBSD/osi_vfsops.c b/src/afs/FBSD/osi_vfsops.c index a87c70bfab..586fea52e7 100644 --- a/src/afs/FBSD/osi_vfsops.c +++ b/src/afs/FBSD/osi_vfsops.c @@ -11,6 +11,10 @@ * osi_vfsops.c for DUX */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics stuff */ diff --git a/src/afs/FBSD/osi_vm.c b/src/afs/FBSD/osi_vm.c index 6d29231d86..cfe3aa185b 100644 --- a/src/afs/FBSD/osi_vm.c +++ b/src/afs/FBSD/osi_vm.c @@ -19,6 +19,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/FBSD/osi_vnodeops.c b/src/afs/FBSD/osi_vnodeops.c index 617d6a040d..140d066ab3 100644 --- a/src/afs/FBSD/osi_vnodeops.c +++ b/src/afs/FBSD/osi_vnodeops.c @@ -12,6 +12,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ diff --git a/src/afs/HPUX/osi_debug.c b/src/afs/HPUX/osi_debug.c index 5f2187576a..13b8c3fabf 100644 --- a/src/afs/HPUX/osi_debug.c +++ b/src/afs/HPUX/osi_debug.c @@ -8,6 +8,10 @@ */ #include "param.h" +#include + +RCSID("$Header$"); + #include "sysincludes.h" #include "afsincludes.h" #include "afs_cbqueue.h" diff --git a/src/afs/HPUX/osi_file.c b/src/afs/HPUX/osi_file.c index 13ce462de6..84d7211d3e 100644 --- a/src/afs/HPUX/osi_file.c +++ b/src/afs/HPUX/osi_file.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* afs statistics */ diff --git a/src/afs/HPUX/osi_groups.c b/src/afs/HPUX/osi_groups.c index 1c507e9ee6..b109cb6689 100644 --- a/src/afs/HPUX/osi_groups.c +++ b/src/afs/HPUX/osi_groups.c @@ -14,6 +14,10 @@ * */ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/HPUX/osi_inode.c b/src/afs/HPUX/osi_inode.c index c60f0c6ed9..a1c7f59500 100644 --- a/src/afs/HPUX/osi_inode.c +++ b/src/afs/HPUX/osi_inode.c @@ -14,6 +14,10 @@ * */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/osi_inode.h" diff --git a/src/afs/HPUX/osi_misc.c b/src/afs/HPUX/osi_misc.c index c78d58e40a..382c2bcba1 100644 --- a/src/afs/HPUX/osi_misc.c +++ b/src/afs/HPUX/osi_misc.c @@ -13,6 +13,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ diff --git a/src/afs/HPUX/osi_sleep.c b/src/afs/HPUX/osi_sleep.c index 0fd27009e8..5654de20e2 100644 --- a/src/afs/HPUX/osi_sleep.c +++ b/src/afs/HPUX/osi_sleep.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* afs statistics */ diff --git a/src/afs/HPUX/osi_vfsops.c b/src/afs/HPUX/osi_vfsops.c index a521efdbaa..b9f342ff1b 100644 --- a/src/afs/HPUX/osi_vfsops.c +++ b/src/afs/HPUX/osi_vfsops.c @@ -11,6 +11,10 @@ * osi_vfsops.c for HPUX */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics stuff */ diff --git a/src/afs/HPUX/osi_vm.c b/src/afs/HPUX/osi_vm.c index 1eeb4c3de2..bcf8277f1d 100644 --- a/src/afs/HPUX/osi_vm.c +++ b/src/afs/HPUX/osi_vm.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/HPUX/osi_vnodeops.c b/src/afs/HPUX/osi_vnodeops.c index de870bad4c..b32bb82f2d 100644 --- a/src/afs/HPUX/osi_vnodeops.c +++ b/src/afs/HPUX/osi_vnodeops.c @@ -10,6 +10,10 @@ /* This is a placeholder for routines unique to the port of AFS to hp-ux*/ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics stuff */ diff --git a/src/afs/IRIX/osi_file.c b/src/afs/IRIX/osi_file.c index 805ecaed85..4944bd4f34 100644 --- a/src/afs/IRIX/osi_file.c +++ b/src/afs/IRIX/osi_file.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* afs statistics */ diff --git a/src/afs/IRIX/osi_groups.c b/src/afs/IRIX/osi_groups.c index cd2c6f4cd6..e28f0909bd 100644 --- a/src/afs/IRIX/osi_groups.c +++ b/src/afs/IRIX/osi_groups.c @@ -16,6 +16,10 @@ * */ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/IRIX/osi_idbg.c b/src/afs/IRIX/osi_idbg.c index 93cfa4b810..445bd79079 100644 --- a/src/afs/IRIX/osi_idbg.c +++ b/src/afs/IRIX/osi_idbg.c @@ -11,6 +11,10 @@ * Implementation of Irix IDBG facility for AFS. */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #ifdef AFS_SGI62_ENV #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ diff --git a/src/afs/IRIX/osi_inode.c b/src/afs/IRIX/osi_inode.c index 9341388f98..5b7cf9119b 100644 --- a/src/afs/IRIX/osi_inode.c +++ b/src/afs/IRIX/osi_inode.c @@ -40,6 +40,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/osi_inode.h" diff --git a/src/afs/IRIX/osi_misc.c b/src/afs/IRIX/osi_misc.c index 584e89ecab..d7c95936d1 100644 --- a/src/afs/IRIX/osi_misc.c +++ b/src/afs/IRIX/osi_misc.c @@ -11,6 +11,10 @@ * Implementation of miscellaneous Irix routines. */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #ifdef AFS_SGI62_ENV #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ diff --git a/src/afs/IRIX/osi_sleep.c b/src/afs/IRIX/osi_sleep.c index 4e76cb0522..96c50906b0 100644 --- a/src/afs/IRIX/osi_sleep.c +++ b/src/afs/IRIX/osi_sleep.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* afs statistics */ diff --git a/src/afs/IRIX/osi_vfsops.c b/src/afs/IRIX/osi_vfsops.c index b24fe8c362..78b6bf912e 100644 --- a/src/afs/IRIX/osi_vfsops.c +++ b/src/afs/IRIX/osi_vfsops.c @@ -11,6 +11,10 @@ * osi_vfsops.c for IRIX */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics stuff */ diff --git a/src/afs/IRIX/osi_vm.c b/src/afs/IRIX/osi_vm.c index bcedf99bd0..f96c85ccd1 100644 --- a/src/afs/IRIX/osi_vm.c +++ b/src/afs/IRIX/osi_vm.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/IRIX/osi_vnodeops.c b/src/afs/IRIX/osi_vnodeops.c index 9d6b5edc52..1f6b8b8d18 100644 --- a/src/afs/IRIX/osi_vnodeops.c +++ b/src/afs/IRIX/osi_vnodeops.c @@ -10,9 +10,11 @@ /* * SGI specific vnodeops + other misc interface glue */ -#ident "$Revision$" - #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #ifdef AFS_SGI62_ENV #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ diff --git a/src/afs/LINUX/osi_alloc.c b/src/afs/LINUX/osi_alloc.c index f076d7e0b7..6c322236d0 100644 --- a/src/afs/LINUX/osi_alloc.c +++ b/src/afs/LINUX/osi_alloc.c @@ -12,6 +12,10 @@ * */ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" #include "../h/mm.h" diff --git a/src/afs/LINUX/osi_cred.c b/src/afs/LINUX/osi_cred.c index 14643fd944..f0e1f20503 100644 --- a/src/afs/LINUX/osi_cred.c +++ b/src/afs/LINUX/osi_cred.c @@ -12,6 +12,10 @@ * */ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" diff --git a/src/afs/LINUX/osi_file.c b/src/afs/LINUX/osi_file.c index d2b90dfd92..dfbfdcbf12 100644 --- a/src/afs/LINUX/osi_file.c +++ b/src/afs/LINUX/osi_file.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* afs statistics */ diff --git a/src/afs/LINUX/osi_groups.c b/src/afs/LINUX/osi_groups.c index 3cc273af9d..bfbb0d8157 100644 --- a/src/afs/LINUX/osi_groups.c +++ b/src/afs/LINUX/osi_groups.c @@ -14,6 +14,10 @@ * */ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/LINUX/osi_inode.c b/src/afs/LINUX/osi_inode.c index 8b7b85d965..826c83badf 100644 --- a/src/afs/LINUX/osi_inode.c +++ b/src/afs/LINUX/osi_inode.c @@ -18,6 +18,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/osi_inode.h" diff --git a/src/afs/LINUX/osi_misc.c b/src/afs/LINUX/osi_misc.c index 87ef735c54..5529cc62bb 100644 --- a/src/afs/LINUX/osi_misc.c +++ b/src/afs/LINUX/osi_misc.c @@ -12,6 +12,10 @@ * */ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" #include "../afs/afs_stats.h" diff --git a/src/afs/LINUX/osi_module.c b/src/afs/LINUX/osi_module.c index 7947b5a13e..3ac8fe0a8e 100644 --- a/src/afs/LINUX/osi_module.c +++ b/src/afs/LINUX/osi_module.c @@ -12,6 +12,10 @@ * */ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" #include "../h/unistd.h" /* For syscall numbers. */ diff --git a/src/afs/LINUX/osi_sleep.c b/src/afs/LINUX/osi_sleep.c index 9acd27a8c4..6a383526ec 100644 --- a/src/afs/LINUX/osi_sleep.c +++ b/src/afs/LINUX/osi_sleep.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* afs statistics */ diff --git a/src/afs/LINUX/osi_vfsops.c b/src/afs/LINUX/osi_vfsops.c index 36dd7aa7ec..d944a280e2 100644 --- a/src/afs/LINUX/osi_vfsops.c +++ b/src/afs/LINUX/osi_vfsops.c @@ -13,6 +13,10 @@ * super_block operations should return negated errno to Linux. */ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" #include "../afs/afs_stats.h" diff --git a/src/afs/LINUX/osi_vm.c b/src/afs/LINUX/osi_vm.c index 73ba8561f2..f2ec972a13 100644 --- a/src/afs/LINUX/osi_vm.c +++ b/src/afs/LINUX/osi_vm.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index c6497e5415..9bdc60b944 100644 --- a/src/afs/LINUX/osi_vnodeops.c +++ b/src/afs/LINUX/osi_vnodeops.c @@ -21,6 +21,10 @@ */ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" #include "../afs/afs_stats.h" diff --git a/src/afs/SOLARIS/osi_file.c b/src/afs/SOLARIS/osi_file.c index 0366f6f4bc..fba65c3829 100644 --- a/src/afs/SOLARIS/osi_file.c +++ b/src/afs/SOLARIS/osi_file.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* afs statistics */ diff --git a/src/afs/SOLARIS/osi_groups.c b/src/afs/SOLARIS/osi_groups.c index bba3882b47..cbb544f388 100644 --- a/src/afs/SOLARIS/osi_groups.c +++ b/src/afs/SOLARIS/osi_groups.c @@ -14,6 +14,10 @@ * */ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/SOLARIS/osi_inode.c b/src/afs/SOLARIS/osi_inode.c index 2f2437b64a..06fcae21c7 100644 --- a/src/afs/SOLARIS/osi_inode.c +++ b/src/afs/SOLARIS/osi_inode.c @@ -14,6 +14,10 @@ * */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/osi_inode.h" diff --git a/src/afs/SOLARIS/osi_sleep.c b/src/afs/SOLARIS/osi_sleep.c index 41eb02f226..e2257282c0 100644 --- a/src/afs/SOLARIS/osi_sleep.c +++ b/src/afs/SOLARIS/osi_sleep.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* afs statistics */ diff --git a/src/afs/SOLARIS/osi_vfsops.c b/src/afs/SOLARIS/osi_vfsops.c index 032d50ecb9..48e70f7747 100644 --- a/src/afs/SOLARIS/osi_vfsops.c +++ b/src/afs/SOLARIS/osi_vfsops.c @@ -11,6 +11,10 @@ * osi_vfsops.c for SOLARIS */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics stuff */ diff --git a/src/afs/SOLARIS/osi_vm.c b/src/afs/SOLARIS/osi_vm.c index cc58e05fef..cce1de58cf 100644 --- a/src/afs/SOLARIS/osi_vm.c +++ b/src/afs/SOLARIS/osi_vm.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/SOLARIS/osi_vnodeops.c b/src/afs/SOLARIS/osi_vnodeops.c index 4e4d8efe0f..b802edf4c8 100644 --- a/src/afs/SOLARIS/osi_vnodeops.c +++ b/src/afs/SOLARIS/osi_vnodeops.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #if defined(AFS_SUN_ENV) || defined(AFS_SUN5_ENV) /* * SOLARIS/osi_vnodeops.c diff --git a/src/afs/UKERNEL/afs_usrops.c b/src/afs/UKERNEL/afs_usrops.c index cea99e629c..5f18198098 100644 --- a/src/afs/UKERNEL/afs_usrops.c +++ b/src/afs/UKERNEL/afs_usrops.c @@ -12,6 +12,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #ifdef UKERNEL diff --git a/src/afs/UKERNEL/osi_groups.c b/src/afs/UKERNEL/osi_groups.c index 38103c3fd6..e8969c437f 100644 --- a/src/afs/UKERNEL/osi_groups.c +++ b/src/afs/UKERNEL/osi_groups.c @@ -12,6 +12,10 @@ * setpag (aliased to use_setpag in sysincludes.h) */ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/UKERNEL/osi_vfsops.c b/src/afs/UKERNEL/osi_vfsops.c index e146b2c8e0..5332559810 100644 --- a/src/afs/UKERNEL/osi_vfsops.c +++ b/src/afs/UKERNEL/osi_vfsops.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics stuff */ diff --git a/src/afs/UKERNEL/osi_vm.c b/src/afs/UKERNEL/osi_vm.c index 1b8703ea9f..914cb223d5 100644 --- a/src/afs/UKERNEL/osi_vm.c +++ b/src/afs/UKERNEL/osi_vm.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/UKERNEL/osi_vnodeops.c b/src/afs/UKERNEL/osi_vnodeops.c index 053185a853..d6a76d2499 100644 --- a/src/afs/UKERNEL/osi_vnodeops.c +++ b/src/afs/UKERNEL/osi_vnodeops.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/VNOPS/afs_vnop_access.c b/src/afs/VNOPS/afs_vnop_access.c index 2c3f6af9ce..56564482ea 100644 --- a/src/afs/VNOPS/afs_vnop_access.c +++ b/src/afs/VNOPS/afs_vnop_access.c @@ -20,6 +20,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/VNOPS/afs_vnop_attrs.c b/src/afs/VNOPS/afs_vnop_attrs.c index eb9c218fb4..695bb1f1c0 100644 --- a/src/afs/VNOPS/afs_vnop_attrs.c +++ b/src/afs/VNOPS/afs_vnop_attrs.c @@ -19,6 +19,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/VNOPS/afs_vnop_create.c b/src/afs/VNOPS/afs_vnop_create.c index 0d42f5779f..ca817d4be2 100644 --- a/src/afs/VNOPS/afs_vnop_create.c +++ b/src/afs/VNOPS/afs_vnop_create.c @@ -14,6 +14,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/VNOPS/afs_vnop_dirops.c b/src/afs/VNOPS/afs_vnop_dirops.c index e636efe598..0ad5b07604 100644 --- a/src/afs/VNOPS/afs_vnop_dirops.c +++ b/src/afs/VNOPS/afs_vnop_dirops.c @@ -18,6 +18,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/VNOPS/afs_vnop_fid.c b/src/afs/VNOPS/afs_vnop_fid.c index 57819b5d1b..e7c0db72d1 100644 --- a/src/afs/VNOPS/afs_vnop_fid.c +++ b/src/afs/VNOPS/afs_vnop_fid.c @@ -15,6 +15,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #if !defined(AFS_DUX40_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_DARWIN_ENV) #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ diff --git a/src/afs/VNOPS/afs_vnop_flock.c b/src/afs/VNOPS/afs_vnop_flock.c index 43869f77dd..2f11066b93 100644 --- a/src/afs/VNOPS/afs_vnop_flock.c +++ b/src/afs/VNOPS/afs_vnop_flock.c @@ -13,6 +13,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/VNOPS/afs_vnop_link.c b/src/afs/VNOPS/afs_vnop_link.c index 8675625dbb..8c6da8366b 100644 --- a/src/afs/VNOPS/afs_vnop_link.c +++ b/src/afs/VNOPS/afs_vnop_link.c @@ -14,6 +14,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/VNOPS/afs_vnop_lookup.c b/src/afs/VNOPS/afs_vnop_lookup.c index a1f22b2461..0346dc0273 100644 --- a/src/afs/VNOPS/afs_vnop_lookup.c +++ b/src/afs/VNOPS/afs_vnop_lookup.c @@ -20,6 +20,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/VNOPS/afs_vnop_open.c b/src/afs/VNOPS/afs_vnop_open.c index affaa54d90..67fef1b54e 100644 --- a/src/afs/VNOPS/afs_vnop_open.c +++ b/src/afs/VNOPS/afs_vnop_open.c @@ -15,6 +15,10 @@ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/VNOPS/afs_vnop_read.c b/src/afs/VNOPS/afs_vnop_read.c index 2d06f63794..91766dd717 100644 --- a/src/afs/VNOPS/afs_vnop_read.c +++ b/src/afs/VNOPS/afs_vnop_read.c @@ -17,6 +17,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/VNOPS/afs_vnop_readdir.c b/src/afs/VNOPS/afs_vnop_readdir.c index ddceaf4759..6995a354d3 100644 --- a/src/afs/VNOPS/afs_vnop_readdir.c +++ b/src/afs/VNOPS/afs_vnop_readdir.c @@ -20,6 +20,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/VNOPS/afs_vnop_remove.c b/src/afs/VNOPS/afs_vnop_remove.c index c80424d7e9..1a5d7df27a 100644 --- a/src/afs/VNOPS/afs_vnop_remove.c +++ b/src/afs/VNOPS/afs_vnop_remove.c @@ -20,6 +20,10 @@ * */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/VNOPS/afs_vnop_rename.c b/src/afs/VNOPS/afs_vnop_rename.c index a627b50212..54652e6ca4 100644 --- a/src/afs/VNOPS/afs_vnop_rename.c +++ b/src/afs/VNOPS/afs_vnop_rename.c @@ -15,6 +15,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/VNOPS/afs_vnop_strategy.c b/src/afs/VNOPS/afs_vnop_strategy.c index aa62ffd19b..333483d9a2 100644 --- a/src/afs/VNOPS/afs_vnop_strategy.c +++ b/src/afs/VNOPS/afs_vnop_strategy.c @@ -13,6 +13,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #if !defined(AFS_HPUX_ENV) && !defined(AFS_SGI_ENV) && !defined(AFS_LINUX20_ENV) #include "../afs/sysincludes.h" /* Standard vendor system headers */ diff --git a/src/afs/VNOPS/afs_vnop_symlink.c b/src/afs/VNOPS/afs_vnop_symlink.c index 797932eb2c..83e0da026a 100644 --- a/src/afs/VNOPS/afs_vnop_symlink.c +++ b/src/afs/VNOPS/afs_vnop_symlink.c @@ -19,6 +19,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/VNOPS/afs_vnop_write.c b/src/afs/VNOPS/afs_vnop_write.c index 77b56aa00a..0b27965be9 100644 --- a/src/afs/VNOPS/afs_vnop_write.c +++ b/src/afs/VNOPS/afs_vnop_write.c @@ -18,6 +18,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/afs_analyze.c b/src/afs/afs_analyze.c index 849eb03fff..f8c262b95e 100644 --- a/src/afs/afs_analyze.c +++ b/src/afs/afs_analyze.c @@ -11,6 +11,10 @@ * Implements: */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/stds.h" #include "../afs/sysincludes.h" /* Standard vendor system headers */ diff --git a/src/afs/afs_axscache.c b/src/afs/afs_axscache.c index 2838c0d513..eaea28b730 100644 --- a/src/afs/afs_axscache.c +++ b/src/afs/afs_axscache.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/afs_buffer.c b/src/afs/afs_buffer.c index 1bc6d3823e..47f81ca420 100644 --- a/src/afs/afs_buffer.c +++ b/src/afs/afs_buffer.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" #if !defined(UKERNEL) #include "../h/param.h" diff --git a/src/afs/afs_call.c b/src/afs/afs_call.c index 073b8f63a3..e271dd38dd 100644 --- a/src/afs/afs_call.c +++ b/src/afs/afs_call.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" diff --git a/src/afs/afs_callback.c b/src/afs/afs_callback.c index 215a6946df..4d3443c879 100644 --- a/src/afs/afs_callback.c +++ b/src/afs/afs_callback.c @@ -14,6 +14,10 @@ */ #include "../afs/param.h" /*Should be always first*/ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /*Standard vendor system headers*/ #include "../afs/afsincludes.h" /*AFS-based standard headers*/ #include "../afs/afs_stats.h" /*Cache Manager stats*/ diff --git a/src/afs/afs_cbqueue.c b/src/afs/afs_cbqueue.c index 902dfb08de..25f46efffe 100644 --- a/src/afs/afs_cbqueue.c +++ b/src/afs/afs_cbqueue.c @@ -72,6 +72,10 @@ * granted with a shorter expiration time. */ #include "../afs/param.h" /*Should be always first*/ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /*Standard vendor system headers*/ #include "../afs/afsincludes.h" /*AFS-based standard headers*/ #include "../afs/afs_cbqueue.h" diff --git a/src/afs/afs_cell.c b/src/afs/afs_cell.c index f1a0f0cf88..41ad4ed4a7 100644 --- a/src/afs/afs_cell.c +++ b/src/afs/afs_cell.c @@ -11,6 +11,10 @@ * Implements: */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/stds.h" #include "../afs/sysincludes.h" /* Standard vendor system headers */ diff --git a/src/afs/afs_chunk.c b/src/afs/afs_chunk.c index ac442f7725..1ca73fd303 100644 --- a/src/afs/afs_chunk.c +++ b/src/afs/afs_chunk.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/stds.h" #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ diff --git a/src/afs/afs_conn.c b/src/afs/afs_conn.c index 0e984f0c77..dc1f3cda57 100644 --- a/src/afs/afs_conn.c +++ b/src/afs/afs_conn.c @@ -11,6 +11,10 @@ * Implements: */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/stds.h" #include "../afs/sysincludes.h" /* Standard vendor system headers */ diff --git a/src/afs/afs_daemons.c b/src/afs/afs_daemons.c index 9810b7fe86..2e3be42d91 100644 --- a/src/afs/afs_daemons.c +++ b/src/afs/afs_daemons.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics gathering code */ diff --git a/src/afs/afs_dcache.c b/src/afs/afs_dcache.c index 9c7018f1fe..5924e9c8d6 100644 --- a/src/afs/afs_dcache.c +++ b/src/afs/afs_dcache.c @@ -11,6 +11,10 @@ * Implements: */ #include "../afs/param.h" /*Should be always first*/ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /*Standard vendor system headers*/ #include "../afs/afsincludes.h" /*AFS-based standard headers*/ #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/afs_exporter.c b/src/afs/afs_exporter.c index b58639d4e0..45479557cb 100644 --- a/src/afs/afs_exporter.c +++ b/src/afs/afs_exporter.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics gathering code */ diff --git a/src/afs/afs_init.c b/src/afs/afs_init.c index 482bf92016..4fa61db0ba 100644 --- a/src/afs/afs_init.c +++ b/src/afs/afs_init.c @@ -14,6 +14,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/stds.h" #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ diff --git a/src/afs/afs_lock.c b/src/afs/afs_lock.c index 72520ff9e0..820edfc2f0 100644 --- a/src/afs/afs_lock.c +++ b/src/afs/afs_lock.c @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif /*******************************************************************\ * * * Information Technology Center * @@ -25,6 +23,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* afs statistics */ diff --git a/src/afs/afs_mariner.c b/src/afs/afs_mariner.c index d871e01296..7f55765d27 100644 --- a/src/afs/afs_mariner.c +++ b/src/afs/afs_mariner.c @@ -14,6 +14,10 @@ * Implements: */ #include "../afs/param.h" /*Should be always first*/ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /*Standard vendor system headers*/ #include "../afs/afsincludes.h" /*AFS-based standard headers*/ #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/afs_memcache.c b/src/afs/afs_memcache.c index a3030439dd..a8f9c2fa58 100644 --- a/src/afs/afs_memcache.c +++ b/src/afs/afs_memcache.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #ifndef AFS_LINUX22_ENV #include "../rpc/types.h" diff --git a/src/afs/afs_nfsclnt.c b/src/afs/afs_nfsclnt.c index b8dd05c625..0e07bed389 100644 --- a/src/afs/afs_nfsclnt.c +++ b/src/afs/afs_nfsclnt.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #if !defined(AFS_NONFSTRANS) || defined(AFS_AIX_IAUTH_ENV) #ifndef AFS_DEC_ENV #include "../afs/sysincludes.h" /* Standard vendor system headers */ diff --git a/src/afs/afs_osi.c b/src/afs/afs_osi.c index e36f9b8190..77bef23fe4 100644 --- a/src/afs/afs_osi.c +++ b/src/afs/afs_osi.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* afs statistics */ diff --git a/src/afs/afs_osi.h b/src/afs/afs_osi.h index 54063e6207..e708f4dd47 100644 --- a/src/afs/afs_osi.h +++ b/src/afs/afs_osi.h @@ -10,7 +10,6 @@ #ifndef _AFS_OSI_ #define _AFS_OSI_ -#include "../afs/param.h" #include "../h/types.h" #include "../h/param.h" diff --git a/src/afs/afs_osi_alloc.c b/src/afs/afs_osi_alloc.c index ea152effde..e286d8b274 100644 --- a/src/afs/afs_osi_alloc.c +++ b/src/afs/afs_osi_alloc.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ diff --git a/src/afs/afs_osi_pag.c b/src/afs/afs_osi_pag.c index 8c833ea6e5..32b01c88a2 100644 --- a/src/afs/afs_osi_pag.c +++ b/src/afs/afs_osi_pag.c @@ -20,6 +20,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/afs_osi_uio.c b/src/afs/afs_osi_uio.c index 5a0969271c..6ee828252f 100644 --- a/src/afs/afs_osi_uio.c +++ b/src/afs/afs_osi_uio.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/afs_osi_vget.c b/src/afs/afs_osi_vget.c index dd36df24ae..09af2cd4a4 100644 --- a/src/afs/afs_osi_vget.c +++ b/src/afs/afs_osi_vget.c @@ -12,6 +12,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* statistics stuff */ diff --git a/src/afs/afs_osidnlc.c b/src/afs/afs_osidnlc.c index 670823f53c..155a5338df 100644 --- a/src/afs/afs_osidnlc.c +++ b/src/afs/afs_osidnlc.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /*Should be always first*/ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /*Standard vendor system headers*/ #include "../afs/afsincludes.h" /*AFS-based standard headers*/ #include "afs/afs.h" diff --git a/src/afs/afs_pioctl.c b/src/afs/afs_pioctl.c index 1baf5f8d15..a1a054f650 100644 --- a/src/afs/afs_pioctl.c +++ b/src/afs/afs_pioctl.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include "../afs/afsincludes.h" /* Afs-based standard headers */ #include "../afs/afs_stats.h" /* afs statistics */ diff --git a/src/afs/afs_segments.c b/src/afs/afs_segments.c index 2ceacd2793..6601ed2f1b 100644 --- a/src/afs/afs_segments.c +++ b/src/afs/afs_segments.c @@ -11,6 +11,10 @@ * --------------------- Required definitions --------------------- */ #include "../afs/param.h" /*Should be always first*/ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /*Standard vendor system headers*/ #include "../afs/afsincludes.h" /*AFS-based standard headers*/ #include "../afs/afs_stats.h" /* statistics */ diff --git a/src/afs/afs_server.c b/src/afs/afs_server.c index 561e4c9d3f..860bc61737 100644 --- a/src/afs/afs_server.c +++ b/src/afs/afs_server.c @@ -30,6 +30,10 @@ * */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/stds.h" #include "../afs/sysincludes.h" /* Standard vendor system headers */ diff --git a/src/afs/afs_stat.c b/src/afs/afs_stat.c index 295c606185..c630bf97b0 100644 --- a/src/afs/afs_stat.c +++ b/src/afs/afs_stat.c @@ -10,6 +10,10 @@ /* statistics-gathering package */ #include "../afs/param.h" /*Should be always first*/ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /*Standard vendor system headers*/ #include "../afs/afsincludes.h" /*AFS-based standard headers*/ #include "afs_stats.h" diff --git a/src/afs/afs_user.c b/src/afs/afs_user.c index 3c2a5d5a65..0d7912c4ff 100644 --- a/src/afs/afs_user.c +++ b/src/afs/afs_user.c @@ -11,6 +11,10 @@ * Implements: */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/stds.h" #include "../afs/sysincludes.h" /* Standard vendor system headers */ diff --git a/src/afs/afs_util.c b/src/afs/afs_util.c index 4d22160ad8..f39fb6ccb7 100644 --- a/src/afs/afs_util.c +++ b/src/afs/afs_util.c @@ -13,6 +13,10 @@ * Implements: */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/stds.h" #include "../afs/sysincludes.h" /* Standard vendor system headers */ diff --git a/src/afs/afs_vcache.c b/src/afs/afs_vcache.c index a238e5c1f9..b7b38191e5 100644 --- a/src/afs/afs_vcache.c +++ b/src/afs/afs_vcache.c @@ -36,6 +36,10 @@ * */ #include "../afs/param.h" /*Should be always first*/ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /*Standard vendor system headers*/ #include "../afs/afsincludes.h" /*AFS-based standard headers*/ #include "../afs/afs_stats.h" diff --git a/src/afs/afs_volume.c b/src/afs/afs_volume.c index 427e31563d..c0a9ecbed4 100644 --- a/src/afs/afs_volume.c +++ b/src/afs/afs_volume.c @@ -16,6 +16,10 @@ * afs_FindVolume */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/stds.h" #include "../afs/sysincludes.h" /* Standard vendor system headers */ diff --git a/src/afs/lock.h b/src/afs/lock.h index 4318a66ece..fb5c2e95cc 100644 --- a/src/afs/lock.h +++ b/src/afs/lock.h @@ -10,9 +10,6 @@ #ifndef __AFSLOCK_INCLUDE__ #define __AFSLOCK_INCLUDE__ 1 -#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS) -#endif - /* * (C) COPYRIGHT IBM CORPORATION 1987 * LICENSED MATERIALS - PROPERTY OF IBM diff --git a/src/afs/voldefs.h b/src/afs/voldefs.h index 12ad9a32ba..4b9c3f2f23 100644 --- a/src/afs/voldefs.h +++ b/src/afs/voldefs.h @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS) -#endif /* System: VICE-TWO Module: voldefs.h diff --git a/src/afsd/afsd.c b/src/afsd/afsd.c index 6962f33971..c2279df8c3 100644 --- a/src/afsd/afsd.c +++ b/src/afsd/afsd.c @@ -51,10 +51,13 @@ * -shutdown Shutdown afs daemons *---------------------------------------------------------------------------*/ +#include +#include + +RCSID("$Header$"); + #define VFS 1 -#include -#include "afsconfig.h" #include #include diff --git a/src/afsd/vsys.c b/src/afsd/vsys.c index 5b01137375..b7a07e3de5 100644 --- a/src/afsd/vsys.c +++ b/src/afsd/vsys.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include "AFS_component_version_number.c" diff --git a/src/afsmonitor/afsmon-output.c b/src/afsmonitor/afsmon-output.c index 535c0a4df2..49ed485201 100644 --- a/src/afsmonitor/afsmon-output.c +++ b/src/afsmonitor/afsmon-output.c @@ -18,6 +18,10 @@ #include #include #include +#include + +RCSID("$Header$"); + #include #include diff --git a/src/afsmonitor/afsmon-parselog.c b/src/afsmonitor/afsmon-parselog.c index ebaa03ff8c..e49453cab0 100644 --- a/src/afsmonitor/afsmon-parselog.c +++ b/src/afsmonitor/afsmon-parselog.c @@ -19,6 +19,10 @@ #include #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/afsmonitor/afsmon-win.c b/src/afsmonitor/afsmon-win.c index 87c989c714..e99f26928f 100644 --- a/src/afsmonitor/afsmon-win.c +++ b/src/afsmonitor/afsmon-win.c @@ -12,20 +12,21 @@ * *-------------------------------------------------------------------------*/ +#include +#include + +RCSID("$Header$"); + #include #include #include #include -#include -#include #ifdef HAVE_STRING_H #include #endif #undef IN #include -#include - #include /*Generic window package*/ #include /*Object definitions*/ #if 0 diff --git a/src/afsmonitor/afsmonitor.c b/src/afsmonitor/afsmonitor.c index 4d4cf4435f..70bd98b22a 100644 --- a/src/afsmonitor/afsmonitor.c +++ b/src/afsmonitor/afsmonitor.c @@ -13,17 +13,18 @@ *-------------------------------------------------------------------------*/ +#include +#include + +RCSID("$Header$"); + #include #include #include #include #include #include -#include -#include - #undef IN - #include #include #ifndef AFS_DEC_ENV diff --git a/src/afsweb/apache_afs_cache.c b/src/afsweb/apache_afs_cache.c index 94d897ccd0..fd8ad0f9ae 100644 --- a/src/afsweb/apache_afs_cache.c +++ b/src/afsweb/apache_afs_cache.c @@ -10,6 +10,10 @@ /* This code borrows from nsafs.c - slightly modified - names,etc. */ #include +#include + +RCSID("$Header$"); + #include "apache_afs_cache.h" /* diff --git a/src/afsweb/apache_afs_utils.h b/src/afsweb/apache_afs_utils.h index 35861f3610..63fd62b28a 100644 --- a/src/afsweb/apache_afs_utils.h +++ b/src/afsweb/apache_afs_utils.h @@ -13,7 +13,6 @@ #include #include -#include #include #include diff --git a/src/afsweb/nsafs.c b/src/afsweb/nsafs.c index 9d856cccc0..5bdcc8900c 100644 --- a/src/afsweb/nsafs.c +++ b/src/afsweb/nsafs.c @@ -12,6 +12,10 @@ */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include #include "../afs/afsincludes.h" /* Afs-based standard headers */ diff --git a/src/afsweb/securehash.c b/src/afsweb/securehash.c index 7fcb23a065..3477a8201a 100644 --- a/src/afsweb/securehash.c +++ b/src/afsweb/securehash.c @@ -20,27 +20,16 @@ * */ -/* - * HISTORY - * Revision 1.1 1998/04/07 17:51:02 - * User space cache manager and netscape plugin - * - * Revision 1.2 1998/01/31 20:55:31 - * Port of AFS client to user space. This delta replaces the previous - * delta, which had too many merge problems after I tried to change - * some of the files back to their originals after the review. - * - * Revision 1.1 1998/01/23 20:36:14 - * Implemented login cache, cleaned up some bugs, and added - * directory index generation. - */ - /* * This module implements the Secure Hash Algorithm (SHA) as specified in * the Secure Hash Standard (SHS, FIPS PUB 180.1). */ #include "../afs/param.h" /* Should be always first */ +#include + +RCSID("$Header$"); + #include "../afs/sysincludes.h" /* Standard vendor system headers */ #include #include "../afs/afsincludes.h" /* Afs-based standard headers */ diff --git a/src/afsweb/weblog.c b/src/afsweb/weblog.c index d2654905a2..7efb9dc7ae 100644 --- a/src/afsweb/weblog.c +++ b/src/afsweb/weblog.c @@ -22,6 +22,10 @@ /* These two needed for rxgen output to work */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/audit/Makefile b/src/audit/Makefile index 10843bb583..f102b1e4b7 100644 --- a/src/audit/Makefile +++ b/src/audit/Makefile @@ -23,7 +23,7 @@ LOCALDIR = ${DESTDIR}root.server/usr/afs/local/ audobjs = audit.o -CFLAGS = ${OPTMZ} -I$(SRCDIR)include ${XCFLAGS} +CFLAGS = ${OPTMZ} -I${TOP_SRCDIR}/config -I$(SRCDIR)include ${XCFLAGS} include ../config/Makefile.version diff --git a/src/audit/audit.c b/src/audit/audit.c index 028ab9e05c..05fe0a04c0 100644 --- a/src/audit/audit.c +++ b/src/audit/audit.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_AIX32_ENV diff --git a/src/auth/authcon.c b/src/auth/authcon.c index 1a838f2030..ff4fcdfd9c 100644 --- a/src/auth/authcon.c +++ b/src/auth/authcon.c @@ -9,6 +9,14 @@ #if defined(UKERNEL) #include "../afs/param.h" +#else +#include +#endif +#include + +RCSID("$Header$"); + +#if defined(UKERNEL) #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" #include "../afs/stds.h" @@ -21,7 +29,6 @@ #include "../afs/auth.h" #include "../afs/pthread_glock.h" #else /* defined(UKERNEL) */ -#include #include #include #include diff --git a/src/auth/cellconfig.c b/src/auth/cellconfig.c index 87a4820ac9..c2e6c79d1f 100644 --- a/src/auth/cellconfig.c +++ b/src/auth/cellconfig.c @@ -9,6 +9,9 @@ #include #include + +RCSID("$Header$"); + #include #include #ifdef UKERNEL diff --git a/src/auth/copyauth.c b/src/auth/copyauth.c index 6af9102edd..2c86d005aa 100644 --- a/src/auth/copyauth.c +++ b/src/auth/copyauth.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include "auth.h" #ifdef AFS_NT40_ENV diff --git a/src/auth/ktc.c b/src/auth/ktc.c index 750a5ea524..53343e955a 100644 --- a/src/auth/ktc.c +++ b/src/auth/ktc.c @@ -10,8 +10,15 @@ /* ticket caching code */ #if defined(UKERNEL) - #include "../afs/param.h" +#else +#include +#endif +#include + +RCSID("$Header$"); + +#if defined(UKERNEL) #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" #include "../afs/stds.h" @@ -31,7 +38,6 @@ #ifdef AFS_SUN5_ENV #include #endif -#include #include #include #include diff --git a/src/auth/ktc_nt.c b/src/auth/ktc_nt.c index e92b9b9a10..5b67152eaa 100644 --- a/src/auth/ktc_nt.c +++ b/src/auth/ktc_nt.c @@ -10,6 +10,10 @@ /* ticket caching code */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/auth/setkey.c b/src/auth/setkey.c index ee8e4426f3..6403693cff 100644 --- a/src/auth/setkey.c +++ b/src/auth/setkey.c @@ -9,6 +9,9 @@ #include #include + +RCSID("$Header$"); + #include #include #include diff --git a/src/auth/test/ktctest.c b/src/auth/test/ktctest.c index 20d596c400..c95d9d788c 100644 --- a/src/auth/test/ktctest.c +++ b/src/auth/test/ktctest.c @@ -15,6 +15,10 @@ #include #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/auth/test/testcellconf.c b/src/auth/test/testcellconf.c index 4627b48bec..65c3ce4db0 100644 --- a/src/auth/test/testcellconf.c +++ b/src/auth/test/testcellconf.c @@ -23,6 +23,10 @@ Creation date: --------------------------------------------------------------------------------------------------------------*/ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/auth/userok.c b/src/auth/userok.c index 86ba5049c7..2306fb83e6 100644 --- a/src/auth/userok.c +++ b/src/auth/userok.c @@ -7,19 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -/* - * Revision 2.3 91/08/09 18:10:56 - * added a new param to afsconf_SuperUser - * - * Revision 2.2 90/08/29 15:10:43 - * Cleanups. - * Reject security index #1: rxvab/bcrypt. - * - * Revision 2.1 90/08/07 18:52:21 - * Start with clean version to sync test and dev trees. - * */ - #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/auth/writeconfig.c b/src/auth/writeconfig.c index 9e0d81f381..1e3773ef59 100644 --- a/src/auth/writeconfig.c +++ b/src/auth/writeconfig.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/bozo/Makefile b/src/bozo/Makefile index d9fea507fa..faed8345cf 100644 --- a/src/bozo/Makefile +++ b/src/bozo/Makefile @@ -10,7 +10,7 @@ COMPONENT=bozo include ../config/Makefile.${SYS_NAME} COMPILE_ET=$(SRCDIR)bin/compile_et -CFLAGS=-g -I${SRCDIR}include ${XCFLAGS} +CFLAGS=-g -I${TOP_SRCDIR}/config -I${SRCDIR}include ${XCFLAGS} RPCINCLS=${SRCDIR}include/lwp.h ${SRCDIR}include/rx/rx.h bosint.h INCLS=bnode.h ${RPCINCLS} ${SRCDIR}include/afs/auth.h \ ${SRCDIR}include/afs/keys.h ${SRCDIR}include/afs/cellconfig.h \ diff --git a/src/bozo/bnode.c b/src/bozo/bnode.c index 7f71b38f85..7531252f48 100644 --- a/src/bozo/bnode.c +++ b/src/bozo/bnode.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/bozo/bos.c b/src/bozo/bos.c index 75ce0c3084..d4afcf6e03 100644 --- a/src/bozo/bos.c +++ b/src/bozo/bos.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/bozo/bosoprocs.c b/src/bozo/bosoprocs.c index 336d9269e9..3d151da7f2 100644 --- a/src/bozo/bosoprocs.c +++ b/src/bozo/bosoprocs.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_NT40_ENV diff --git a/src/bozo/bosserver.c b/src/bozo/bosserver.c index 3fdf45fabb..70a51c27c2 100644 --- a/src/bozo/bosserver.c +++ b/src/bozo/bosserver.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/bozo/cronbnodeops.c b/src/bozo/cronbnodeops.c index 193d0cc3db..9e16f5b654 100644 --- a/src/bozo/cronbnodeops.c +++ b/src/bozo/cronbnodeops.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/bozo/ezbnodeops.c b/src/bozo/ezbnodeops.c index cb6d9c81e5..ead612afc3 100644 --- a/src/bozo/ezbnodeops.c +++ b/src/bozo/ezbnodeops.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/bozo/fsbnodeops.c b/src/bozo/fsbnodeops.c index ff8d204e4f..23781edd50 100644 --- a/src/bozo/fsbnodeops.c +++ b/src/bozo/fsbnodeops.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/bozo/smail-notifier.c b/src/bozo/smail-notifier.c index f4be09a13f..c01c60e422 100644 --- a/src/bozo/smail-notifier.c +++ b/src/bozo/smail-notifier.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/bu_utils/Makefile b/src/bu_utils/Makefile index 7ccf9153f0..717aacdb9a 100644 --- a/src/bu_utils/Makefile +++ b/src/bu_utils/Makefile @@ -10,7 +10,8 @@ COMPONENT=bu_utils include ../config/Makefile.${SYS_NAME} COMPILE_ET = ${DESTDIR}/bin/compile_et -CFLAGS= -g -w -I${SRCDIR}include -I${SRCDIR}include/afs ${XCFLAGS} +CFLAGS= -g -w -I${TOP_SRCDIR}/config \ + -I${SRCDIR}include -I${SRCDIR}include/afs ${XCFLAGS} LDFLAGS = ${XLDFLAGS} include ../config/Makefile.version diff --git a/src/bu_utils/fms.c b/src/bu_utils/fms.c index 1970156b04..602b5ffc8b 100644 --- a/src/bu_utils/fms.c +++ b/src/bu_utils/fms.c @@ -8,6 +8,10 @@ */ #include /* for machine/host info */ +#include + +RCSID("$Header$"); + #undef IN #include #include diff --git a/src/bubasics/Makefile b/src/bubasics/Makefile index 91420e14c2..237e23c618 100644 --- a/src/bubasics/Makefile +++ b/src/bubasics/Makefile @@ -12,7 +12,7 @@ include ../config/Makefile.${SYS_NAME} RXGEN=${SRCDIR}bin/rxgen COMPILE_ET = ${SRCDIR}bin/compile_et -CFLAGS= ${DBUG} -I${SRCDIR}include ${XCFLAGS} +CFLAGS= ${DBUG} -I${TOP_SRCDIR}/config -I${SRCDIR}include ${XCFLAGS} include ../config/Makefile.version diff --git a/src/bubasics/butm.p.h b/src/bubasics/butm.p.h index bed0c2b901..4106d9f377 100644 --- a/src/bubasics/butm.p.h +++ b/src/bubasics/butm.p.h @@ -8,7 +8,6 @@ */ #include -#include #include struct blockMark { diff --git a/src/bucoord/Makefile b/src/bucoord/Makefile index b9d16c2724..131686f3ad 100644 --- a/src/bucoord/Makefile +++ b/src/bucoord/Makefile @@ -11,7 +11,8 @@ include ../config/Makefile.${SYS_NAME} COMPILE_ET = ${SRCDIR}bin/compile_et -CFLAGS= ${DBUG} -w -I${SRCDIR}include -I${SRCDIR}include/afs ${XCFLAGS} +CFLAGS= ${DBUG} -w -I${TOP_SRCDIR}/config \ + -I${SRCDIR}include -I${SRCDIR}include/afs ${XCFLAGS} #LIBS=${SRCDIR}lib/afs/libcmd.a ${SRCDIR}lib/afs/libbubasics.a \ #${SRCDIR}lib/afs/libcom_err.a ${SRCDIR}lib/afs/util.a \ diff --git a/src/bucoord/bc_status.c b/src/bucoord/bc_status.c index 67e2eebc7a..69afbe6ba9 100644 --- a/src/bucoord/bc_status.c +++ b/src/bucoord/bc_status.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/bucoord/commands.c b/src/bucoord/commands.c index 6757a4a9e4..adfb32ad23 100644 --- a/src/bucoord/commands.c +++ b/src/bucoord/commands.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/bucoord/config.c b/src/bucoord/config.c index 9d1feffd58..8e573eac1e 100644 --- a/src/bucoord/config.c +++ b/src/bucoord/config.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/bucoord/dlq.c b/src/bucoord/dlq.c index e32df0e0a6..ad78bfd463 100644 --- a/src/bucoord/dlq.c +++ b/src/bucoord/dlq.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #define DLQ_ASSERT_HEAD(headptr) \ diff --git a/src/bucoord/dsstub.c b/src/bucoord/dsstub.c index 54acb68b89..f023b50a60 100644 --- a/src/bucoord/dsstub.c +++ b/src/bucoord/dsstub.c @@ -12,6 +12,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_NT40_ENV diff --git a/src/bucoord/dsvs.c b/src/bucoord/dsvs.c index 7051d52e0a..dcba50b820 100644 --- a/src/bucoord/dsvs.c +++ b/src/bucoord/dsvs.c @@ -16,6 +16,10 @@ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_NT40_ENV diff --git a/src/bucoord/dump.c b/src/bucoord/dump.c index 324ed28146..188f824592 100644 --- a/src/bucoord/dump.c +++ b/src/bucoord/dump.c @@ -12,6 +12,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_NT40_ENV diff --git a/src/bucoord/dump_sched.c b/src/bucoord/dump_sched.c index 9e567b2599..0a2ad75c02 100644 --- a/src/bucoord/dump_sched.c +++ b/src/bucoord/dump_sched.c @@ -14,6 +14,10 @@ #include #include #include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #else diff --git a/src/bucoord/expire.c b/src/bucoord/expire.c index 3a4bd1e3f4..c171e1a6f1 100644 --- a/src/bucoord/expire.c +++ b/src/bucoord/expire.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/bucoord/main.c b/src/bucoord/main.c index 2b255a5a01..9ec97d0a67 100644 --- a/src/bucoord/main.c +++ b/src/bucoord/main.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/bucoord/regex.c b/src/bucoord/regex.c index 19e1c944e1..c684015518 100644 --- a/src/bucoord/regex.c +++ b/src/bucoord/regex.c @@ -7,10 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -static char sccsid[] = "@(#)regex.c 1.1 86/09/24 SMI"; /* from UCB 4.1 80/12/21 */ -#endif - /* * routines to do regular expression matching * diff --git a/src/bucoord/restore.c b/src/bucoord/restore.c index 7dabe41912..2cf0ab1349 100644 --- a/src/bucoord/restore.c +++ b/src/bucoord/restore.c @@ -12,6 +12,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/bucoord/server.c b/src/bucoord/server.c index 1930cca91d..786e053bf9 100644 --- a/src/bucoord/server.c +++ b/src/bucoord/server.c @@ -9,6 +9,10 @@ #include #include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #else diff --git a/src/bucoord/status.c b/src/bucoord/status.c index fc966b1f4b..773be33e57 100644 --- a/src/bucoord/status.c +++ b/src/bucoord/status.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/bucoord/tape_hosts.c b/src/bucoord/tape_hosts.c index 35f218e9b3..553cc33d43 100644 --- a/src/bucoord/tape_hosts.c +++ b/src/bucoord/tape_hosts.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/bucoord/ubik_db_if.c b/src/bucoord/ubik_db_if.c index 017fe01461..d06a30891d 100644 --- a/src/bucoord/ubik_db_if.c +++ b/src/bucoord/ubik_db_if.c @@ -10,6 +10,10 @@ /* Interface and supporting routines for the backup system's ubik database */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/bucoord/vol_sets.c b/src/bucoord/vol_sets.c index e351599152..d8f478f1ac 100644 --- a/src/bucoord/vol_sets.c +++ b/src/bucoord/vol_sets.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/bucoord/volstub.c b/src/bucoord/volstub.c index 6cfa661533..ec673b4c21 100644 --- a/src/bucoord/volstub.c +++ b/src/bucoord/volstub.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_NT40_ENV diff --git a/src/budb/Makefile b/src/budb/Makefile index ac0b03378d..836b0c2788 100644 --- a/src/budb/Makefile +++ b/src/budb/Makefile @@ -15,7 +15,7 @@ include ../config/Makefile.${SYS_NAME} COMPILE_ET = ${SRCDIR}bin/compile_et RXGEN=${SRCDIR}bin/rxgen -CFLAGS = -g -I${SRCDIR}include ${XCFLAGS} +CFLAGS = -g -I${TOP_SRCDIR}/config -I${SRCDIR}include ${XCFLAGS} LDFLAGS = -g ${XLDFLAGS} INCLS= \ ${SRCDIR}include/lock.h \ diff --git a/src/budb/database.c b/src/budb/database.c index b9dc1407f5..7854b3d4c1 100644 --- a/src/budb/database.c +++ b/src/budb/database.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #else diff --git a/src/budb/db_alloc.c b/src/budb/db_alloc.c index dee1c6c639..ee939a1af9 100644 --- a/src/budb/db_alloc.c +++ b/src/budb/db_alloc.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #else diff --git a/src/budb/db_dump.c b/src/budb/db_dump.c index 6dc974b62b..866f0fec76 100644 --- a/src/budb/db_dump.c +++ b/src/budb/db_dump.c @@ -13,6 +13,10 @@ */ #include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #else diff --git a/src/budb/db_hash.c b/src/budb/db_hash.c index 1a00a67615..dec74b77c2 100644 --- a/src/budb/db_hash.c +++ b/src/budb/db_hash.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #else diff --git a/src/budb/db_lock.c b/src/budb/db_lock.c index 7fcc5edd79..581c999410 100644 --- a/src/budb/db_lock.c +++ b/src/budb/db_lock.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/budb/db_text.c b/src/budb/db_text.c index 7d453ea722..323b1f586f 100644 --- a/src/budb/db_text.c +++ b/src/budb/db_text.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/budb/dbs_dump.c b/src/budb/dbs_dump.c index 9c6ee1a0ef..a39e3a98fb 100644 --- a/src/budb/dbs_dump.c +++ b/src/budb/dbs_dump.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/budb/ol_verify.c b/src/budb/ol_verify.c index 7eadcedaea..467413ecf1 100644 --- a/src/budb/ol_verify.c +++ b/src/budb/ol_verify.c @@ -10,6 +10,10 @@ /* ol_verify - online database verification */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/budb/procs.c b/src/budb/procs.c index 51c04b7364..68885c6df4 100644 --- a/src/budb/procs.c +++ b/src/budb/procs.c @@ -14,6 +14,10 @@ */ #include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #else diff --git a/src/budb/server.c b/src/budb/server.c index 7f2a114222..348ebfac86 100644 --- a/src/budb/server.c +++ b/src/budb/server.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/budb/struct_ops.c b/src/budb/struct_ops.c index 80d4763259..a8f5ccc075 100644 --- a/src/budb/struct_ops.c +++ b/src/budb/struct_ops.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/butc/Makefile b/src/butc/Makefile index edfddbba5e..19a47017e6 100644 --- a/src/butc/Makefile +++ b/src/butc/Makefile @@ -11,7 +11,8 @@ include ../config/Makefile.${SYS_NAME} CFLAGS=-g -w ${INCDIRS} ${XCFLAGS} -INCDIRS= -I${SRCDIR}include/afs -I${SRCDIR}include/rx -I${SRCDIR}include +INCDIRS= -I${TOP_SRCDIR}/config -I${SRCDIR}include/afs \ + -I${SRCDIR}include/rx -I${SRCDIR}include INCLS=${SRCDIR}include/afs/partition.h ${SRCDIR}include/afs/volume.h \ ${SRCDIR}include/afs/vlserver.h ${SRCDIR}include/rx/rx.h \ diff --git a/src/butc/butc_xbsa.c b/src/butc/butc_xbsa.c index 009fd2b565..a5c3a0a744 100644 --- a/src/butc/butc_xbsa.c +++ b/src/butc/butc_xbsa.c @@ -10,6 +10,10 @@ #ifdef xbsa #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/butc/dbentries.c b/src/butc/dbentries.c index f215ca9388..4351c9ac93 100644 --- a/src/butc/dbentries.c +++ b/src/butc/dbentries.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/butc/dump.c b/src/butc/dump.c index cc5eae34d8..ba601466d9 100644 --- a/src/butc/dump.c +++ b/src/butc/dump.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/butc/list.c b/src/butc/list.c index 6e41911250..da8f0a4705 100644 --- a/src/butc/list.c +++ b/src/butc/list.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #ifndef AFS_NT40_ENV #include #endif diff --git a/src/butc/lwps.c b/src/butc/lwps.c index dfd5369578..98d168e56d 100644 --- a/src/butc/lwps.c +++ b/src/butc/lwps.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/butc/read_tape.c b/src/butc/read_tape.c index ca3e0a2f99..1117909cb4 100644 --- a/src/butc/read_tape.c +++ b/src/butc/read_tape.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/butc/recoverDb.c b/src/butc/recoverDb.c index 9b8b62356b..9e765116d5 100644 --- a/src/butc/recoverDb.c +++ b/src/butc/recoverDb.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/butc/tcmain.c b/src/butc/tcmain.c index 41ce4ae343..7202ee38d8 100644 --- a/src/butc/tcmain.c +++ b/src/butc/tcmain.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_NT40_ENV diff --git a/src/butc/tcprocs.c b/src/butc/tcprocs.c index 86e10d6f1a..8696b92702 100644 --- a/src/butc/tcprocs.c +++ b/src/butc/tcprocs.c @@ -10,6 +10,10 @@ /* procedures invoked by the rpc stub */ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_NT40_ENV diff --git a/src/butc/tcstatus.c b/src/butc/tcstatus.c index dc1fd9f6a2..20b7e3f910 100644 --- a/src/butc/tcstatus.c +++ b/src/butc/tcstatus.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/butc/tcudbprocs.c b/src/butc/tcudbprocs.c index 8b70406f6c..687de558ec 100644 --- a/src/butc/tcudbprocs.c +++ b/src/butc/tcudbprocs.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/butc/test_budb.c b/src/butc/test_budb.c index 09aa81eaa4..47f6341f61 100644 --- a/src/butc/test_budb.c +++ b/src/butc/test_budb.c @@ -11,6 +11,10 @@ #include #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/butm/Makefile b/src/butm/Makefile index 9e12ce2e86..2a6a5f0e99 100644 --- a/src/butm/Makefile +++ b/src/butm/Makefile @@ -11,7 +11,7 @@ SHELL = /bin/sh SRCDIR=DEST/ DESTDIR=DEST/ -CFLAGS = -g -w -I${SRCDIR}include ${XCFLAGS} +CFLAGS = -g -w -I${TOP_SRCDIR}/config -I${SRCDIR}include ${XCFLAGS} LDFLAGS = -g ${XLDFLAGS} INCLS= ${SRCDIR}include/afs/com_err.h ${SRCDIR}include/afs/butm.h diff --git a/src/butm/butm_test.c b/src/butm/butm_test.c index a8629c5af3..d9017f1fa8 100644 --- a/src/butm/butm_test.c +++ b/src/butm/butm_test.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/butm/file_tm.c b/src/butm/file_tm.c index 6057c5c0bd..d5842e5adf 100644 --- a/src/butm/file_tm.c +++ b/src/butm/file_tm.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #else diff --git a/src/butm/test_ftm.c b/src/butm/test_ftm.c index 2f104ec55b..867d69852c 100644 --- a/src/butm/test_ftm.c +++ b/src/butm/test_ftm.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/cmd/Makefile b/src/cmd/Makefile index 2402dab35f..9f0107f2b4 100644 --- a/src/cmd/Makefile +++ b/src/cmd/Makefile @@ -17,7 +17,7 @@ INCLS=cmd.h ${XINCLS} LIBOBJS=cmd_errors.o cmd.o LIB64OBJS=cmd_errors64.o cmd64.o -CFLAGS= ${OPTMZ} -I${SRCDIR}include ${XCFLAGS} +CFLAGS= ${OPTMZ} -I${TOP_SRCDIR}/config -I${SRCDIR}include ${XCFLAGS} include ../config/Makefile.version @@ -39,10 +39,10 @@ AFS_component_version_number64.o: AFS_component_version_number.c ${CC} ${OPTMZ} -I${SRCDIR}include ${XCFLAGS64} -c -o AFS_component_version_number64.o AFS_component_version_number.c cmd_errors64.o: cmd_errors.c - ${CC} ${OPTMZ} -I${SRCDIR}include ${XCFLAGS64} -c -o cmd_errors64.o cmd_errors.c + ${CC} ${OPTMZ} -I${TOP_SRCDIR}/config -I${SRCDIR}include ${XCFLAGS64} -c -o cmd_errors64.o cmd_errors.c cmd64.o: cmd.c ${INCLS} - ${CC} ${OPTMZ} -I${SRCDIR}include ${XCFLAGS64} -c -o cmd64.o cmd.c + ${CC} ${OPTMZ} -I${TOP_SRCDIR}/config -I${SRCDIR}include ${XCFLAGS64} -c -o cmd64.o cmd.c libcmd64.a: ${LIB64OBJS} AFS_component_version_number64.o diff --git a/src/cmd/cmd.c b/src/cmd/cmd.c index 934bba8e8c..d4e80f914d 100644 --- a/src/cmd/cmd.c +++ b/src/cmd/cmd.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include #include #include "cmd.h" diff --git a/src/cmd/cmd.p.h b/src/cmd/cmd.p.h index 8595d8e67b..13e7a29fe1 100644 --- a/src/cmd/cmd.p.h +++ b/src/cmd/cmd.p.h @@ -9,7 +9,6 @@ #ifndef __CMD_INCL__ #define __CMD_INCL__ 1 -#include /* parmdesc types */ #define CMD_FLAG 1 /* no parms */ diff --git a/src/cmd/test/ctest.c b/src/cmd/test/ctest.c index 64c3001cfb..e1f1d9b1cd 100644 --- a/src/cmd/test/ctest.c +++ b/src/cmd/test/ctest.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include "cmd.h" #include diff --git a/src/cmd/test/dtest.c b/src/cmd/test/dtest.c index 9f564a31ad..f2971ef660 100644 --- a/src/cmd/test/dtest.c +++ b/src/cmd/test/dtest.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include "cmd.h" #include diff --git a/src/cmd/test/itest.c b/src/cmd/test/itest.c index 83282d113d..a8763ad553 100644 --- a/src/cmd/test/itest.c +++ b/src/cmd/test/itest.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include "cmd.h" #include #include diff --git a/src/comerr/Makefile b/src/comerr/Makefile index c177fd6cea..4070a4bc1c 100644 --- a/src/comerr/Makefile +++ b/src/comerr/Makefile @@ -18,7 +18,7 @@ LIBOBJS= error_msg.o et_name.o com_err.o UKERNELDIR=../libuafs/ -CFLAGS= ${OPTMZ} -I${DESTDIR}include ${XCFLAGS} +CFLAGS= ${OPTMZ} -I${DESTDIR}include -I${TOP_SRCDIR}/config ${XCFLAGS} FILES= Makefile et_name.c error_msg.c compile_et.c \ error_table.y et_lex.lex.l \ com_err.c com_err.h \ diff --git a/src/comerr/com_err.c b/src/comerr/com_err.c index c7c72fd9de..8a4f2043a0 100644 --- a/src/comerr/com_err.c +++ b/src/comerr/com_err.c @@ -4,6 +4,11 @@ * For copyright info, see mit-sipb-cr.h. */ +#include +#include + +RCSID("$Header$"); + #include "internal.h" #include #include diff --git a/src/comerr/compile_et.c b/src/comerr/compile_et.c index 8f7ae12630..dd9fb5bd11 100644 --- a/src/comerr/compile_et.c +++ b/src/comerr/compile_et.c @@ -9,6 +9,10 @@ #undef MEMORYLEAK #include +#include + +RCSID("$Header$"); + #include #include diff --git a/src/comerr/error_msg.c b/src/comerr/error_msg.c index dd2341fd28..b93eb49d33 100644 --- a/src/comerr/error_msg.c +++ b/src/comerr/error_msg.c @@ -7,6 +7,11 @@ * For copyright info, see "mit-sipb-cr.h". */ +#include +#include + +RCSID("$Header$"); + #include "internal.h" #include #include "error_table.h" diff --git a/src/comerr/error_table.y b/src/comerr/error_table.y index 7ade428590..88b38f6c69 100644 --- a/src/comerr/error_table.y +++ b/src/comerr/error_table.y @@ -1,5 +1,30 @@ %{ #include +#include + +RCSID("$Header$"); + +/* + * + * Copyright 1986, 1987 by the MIT Student Information Processing Board + * + * For copyright info, see mit-sipb-cr.h. + */ +#ifndef AFS_NT40_ENV +#include +#endif +#include +#include +#include +#ifdef AFS_NT40_ENV +#include +#include +#else +#include +#endif +#include +#include "error_table.h" +#include "mit-sipb-cr.h" /* * If __STDC__ is defined, function prototypes in the SunOS 5.5.1 lex @@ -103,29 +128,6 @@ description : QUOTED_STRING ; %% -/* - * - * Copyright 1986, 1987 by the MIT Student Information Processing Board - * - * For copyright info, see mit-sipb-cr.h. - */ -#ifndef AFS_NT40_ENV -#include -#endif -#include -#include -#include -#include -#ifdef AFS_NT40_ENV -#include -#include -#else -#include -#endif -#include -#include "error_table.h" -#include "mit-sipb-cr.h" -#include /* Copyright (C) 1998 Transarc Corporation. All rights reserved. * diff --git a/src/comerr/error_table_nt.c b/src/comerr/error_table_nt.c index a6aa725133..d4f5d62573 100755 --- a/src/comerr/error_table_nt.c +++ b/src/comerr/error_table_nt.c @@ -13,6 +13,10 @@ #line 1 "error_table.y" #include +#include + +RCSID("$Header$"); + /* * If __STDC__ is defined, function prototypes in the SunOS 5.5.1 lex diff --git a/src/comerr/et_lex.lex.l b/src/comerr/et_lex.lex.l index 7db068b201..fe39d3b064 100644 --- a/src/comerr/et_lex.lex.l +++ b/src/comerr/et_lex.lex.l @@ -24,9 +24,6 @@ end return END; /* Copyright (C) 1998 Transarc Corporation. All rights reserved. * */ -#ifndef lint -#endif - int yywrap(void) { return 1; } diff --git a/src/comerr/et_lex.lex_nt.c b/src/comerr/et_lex.lex_nt.c index adcae928bc..28b46a94f1 100644 --- a/src/comerr/et_lex.lex_nt.c +++ b/src/comerr/et_lex.lex_nt.c @@ -1571,9 +1571,6 @@ int main() /* Copyright (C) 1998 Transarc Corporation. All rights reserved. * */ -#ifndef lint -#endif - int yywrap(void) { return 1; } diff --git a/src/comerr/et_name.c b/src/comerr/et_name.c index 7d349efa6b..fe8d5a6da9 100644 --- a/src/comerr/et_name.c +++ b/src/comerr/et_name.c @@ -4,6 +4,11 @@ * For copyright info, see mit-sipb-cr.h. */ +#include +#include + +RCSID("$Header$"); + #include "error_table.h" #include "mit-sipb-cr.h" #include "internal.h" diff --git a/src/comerr/internal.h b/src/comerr/internal.h index a958f9e404..cfe083c0e3 100644 --- a/src/comerr/internal.h +++ b/src/comerr/internal.h @@ -6,6 +6,5 @@ #include #include #include /* perror() */ -#include extern void yyerror(const char *s); diff --git a/src/comerr/test/test.c b/src/comerr/test/test.c index 9510649c05..89362fa039 100644 --- a/src/comerr/test/test.c +++ b/src/comerr/test/test.c @@ -1,4 +1,8 @@ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/config/param.alpha_dux40.h b/src/config/param.alpha_dux40.h index 5026844ecc..1b5c8c45cc 100644 --- a/src/config/param.alpha_dux40.h +++ b/src/config/param.alpha_dux40.h @@ -7,8 +7,8 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef _PARAM_OSF1_H_ -#define _PARAM_OSF1_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #define AFS_OSF_ENV 1 #define AFS_OSF20_ENV 1 @@ -104,4 +104,4 @@ enum vcexcl {NONEXCL, EXCL}; #endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */ #endif /* _KERNEL */ -#endif /* _PARAM_OSF1_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.alpha_dux40_usr.h b/src/config/param.alpha_dux40_usr.h index 192b33930e..053d35f953 100644 --- a/src/config/param.alpha_dux40_usr.h +++ b/src/config/param.alpha_dux40_usr.h @@ -7,8 +7,8 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef _PARAM_SUN4C_51_H_ -#define _PARAM_SUN4C_51_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #define AFS_VFS_ENV 1 /* Used only in vfsck code; is it needed any more???? */ @@ -64,4 +64,4 @@ #endif #define ROOTINO UFSROOTINO -#endif /* _PARAM_SUN4C_51_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.alpha_dux50.h b/src/config/param.alpha_dux50.h index 29926ae97d..02517aecd0 100644 --- a/src/config/param.alpha_dux50.h +++ b/src/config/param.alpha_dux50.h @@ -7,8 +7,8 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef _PARAM_OSF1_H_ -#define _PARAM_OSF1_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #define AFS_OSF_ENV 1 #define AFS_OSF20_ENV 1 @@ -105,4 +105,4 @@ enum vcexcl {NONEXCL, EXCL}; #endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */ #endif /* _KERNEL */ -#endif /* _PARAM_OSF1_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.alpha_dux50_usr.h b/src/config/param.alpha_dux50_usr.h index 76139e4546..3b0ec833d9 100644 --- a/src/config/param.alpha_dux50_usr.h +++ b/src/config/param.alpha_dux50_usr.h @@ -7,8 +7,8 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef _PARAM_ALPHA_DUX50_USR_H_ -#define _PARAM_ALPHA_DUX50_USR_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #define AFS_VFS_ENV 1 /* Used only in vfsck code; is it needed any more???? */ @@ -64,4 +64,4 @@ #endif #define ROOTINO UFSROOTINO -#endif /* _PARAM_ALPHA_DUX50_USR_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.hp_ux102.h b/src/config/param.hp_ux102.h index ccf75c9903..34a71e71d7 100644 --- a/src/config/param.hp_ux102.h +++ b/src/config/param.hp_ux102.h @@ -9,8 +9,8 @@ /* THIS FILE IS AUTOMATICALLY GENERATED; DO NOT EDIT */ -#ifndef _PARAM_HP_UX10_2_H_ -#define _PARAM_HP_UX10_2_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #define AFS_HPUX_ENV 1 #define AFS_HPUX90_ENV 1 @@ -84,4 +84,4 @@ struct uio; #define EDQUOT 69 /* Disc quota exceeded */ #endif -#endif /* _PARAM_HP_UX10_2_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.hp_ux102_usr.h b/src/config/param.hp_ux102_usr.h index 525ab24159..fdcc12c0ba 100644 --- a/src/config/param.hp_ux102_usr.h +++ b/src/config/param.hp_ux102_usr.h @@ -7,8 +7,8 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef _PARAM_USR_HPUX102_H_ -#define _PARAM_USR_HPUX102_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #define AFS_VFS_ENV 1 /* Used only in vfsck code; is it needed any more???? */ @@ -61,4 +61,4 @@ #define CMSERVERPREF #endif -#endif /* _PARAM_USR_HPUX102_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.hp_ux110.h b/src/config/param.hp_ux110.h index 1297c942ed..7af67ffc79 100644 --- a/src/config/param.hp_ux110.h +++ b/src/config/param.hp_ux110.h @@ -9,8 +9,8 @@ /* THIS FILE IS AUTOMATICALLY GENERATED; DO NOT EDIT */ -#ifndef _PARAM_HP_UX11_0_H_ -#define _PARAM_HP_UX11_0_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #define AFS_HPUX_ENV 1 #define AFS_HPUX90_ENV 1 @@ -88,4 +88,4 @@ struct uio; #define EDQUOT 69 /* Disc quota exceeded */ #endif -#endif /* _PARAM_HP_UX11_0_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.hp_ux110_usr.h b/src/config/param.hp_ux110_usr.h index 716c8e15a6..f012063609 100644 --- a/src/config/param.hp_ux110_usr.h +++ b/src/config/param.hp_ux110_usr.h @@ -7,8 +7,8 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef _PARAM_USR_HPUX110_H_ -#define _PARAM_USR_HPUX110_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #define AFS_VFS_ENV 1 /* Used only in vfsck code; is it needed any more???? */ @@ -61,4 +61,4 @@ #define CMSERVERPREF #endif -#endif /* _PARAM_USR_HPUX110_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.i386_djgpp.h b/src/config/param.i386_djgpp.h index 320e8acfc3..efd5f78033 100644 --- a/src/config/param.i386_djgpp.h +++ b/src/config/param.i386_djgpp.h @@ -7,8 +7,8 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef _PARAM_I386_DJGPP_H_ -#define _PARAM_I386_DJGPP_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #define AFS_NONFSTRANS #define AFS_DJGPP_ENV /* win95 env. */ @@ -30,4 +30,4 @@ #define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */ #define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */ -#endif /* _PARAM_I386_DJGPP_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.i386_djgpp_usr.h b/src/config/param.i386_djgpp_usr.h index 68ea50e41d..9f53f9532e 100644 --- a/src/config/param.i386_djgpp_usr.h +++ b/src/config/param.i386_djgpp_usr.h @@ -7,8 +7,8 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef _PARAM_USR_I386_LINUX22_H_ -#define _PARAM_USR_I386_LINUX22_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H /* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel, * it's a judgment call. If something is obviously i386 specific, use that @@ -59,4 +59,4 @@ #define CMSERVERPREF #endif -#endif /* _PARAM_USR_I386_LINUX22_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.i386_fbsd_42.h b/src/config/param.i386_fbsd_42.h index 8053a8b998..15fd469d85 100644 --- a/src/config/param.i386_fbsd_42.h +++ b/src/config/param.i386_fbsd_42.h @@ -1,5 +1,5 @@ -#ifndef _PARAM_FBSD_42_H_ -#define _PARAM_FBSD_42_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #include @@ -112,4 +112,4 @@ enum vcexcl {NONEXCL, EXCL}; #endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */ #endif /* _KERNEL */ -#endif /* _PARAM_FBSD_42_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.i386_fbsd_42_usr.h b/src/config/param.i386_fbsd_42_usr.h index 2ef5ec2d18..1d8e79c559 100644 --- a/src/config/param.i386_fbsd_42_usr.h +++ b/src/config/param.i386_fbsd_42_usr.h @@ -1,5 +1,5 @@ -#ifndef _PARAM_USR_I386_FBSD_42_H_ -#define _PARAM_USR_I386_FBSD_42_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #define UKERNEL 1 /* user space kernel */ @@ -57,4 +57,4 @@ #include #include -#endif /* _PARAM_USR_I386_FBSD_42_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.i386_linux22.h b/src/config/param.i386_linux22.h index 38630d7a93..765e04f3ce 100644 --- a/src/config/param.i386_linux22.h +++ b/src/config/param.i386_linux22.h @@ -7,8 +7,8 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef _PARAM_I386_LINUX22_H_ -#define _PARAM_I386_LINUX22_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H /* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel, * it's a judgment call. If something is obviously i386 specific, use that @@ -85,4 +85,4 @@ #endif #endif /* KERNEL */ -#endif /* _PARAM_I386_LINUX20_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.i386_linux22_usr.h b/src/config/param.i386_linux22_usr.h index 68ea50e41d..9f53f9532e 100644 --- a/src/config/param.i386_linux22_usr.h +++ b/src/config/param.i386_linux22_usr.h @@ -7,8 +7,8 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef _PARAM_USR_I386_LINUX22_H_ -#define _PARAM_USR_I386_LINUX22_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H /* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel, * it's a judgment call. If something is obviously i386 specific, use that @@ -59,4 +59,4 @@ #define CMSERVERPREF #endif -#endif /* _PARAM_USR_I386_LINUX22_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.i386_linux24.h b/src/config/param.i386_linux24.h index 618919b68a..2fcf247130 100644 --- a/src/config/param.i386_linux24.h +++ b/src/config/param.i386_linux24.h @@ -1,5 +1,5 @@ -#ifndef _PARAM_I386_LINUX24_H_ -#define _PARAM_I386_LINUX24_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H /* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel, * it's a judgment call. If something is obviously i386 specific, use that @@ -70,6 +70,6 @@ #define SYS_NAME "i386_linux24" #define SYS_NAME_ID SYS_NAME_ID_i386_linux24 -#endif /* _PARAM_I386_LINUX24_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.i386_linux24_usr.h b/src/config/param.i386_linux24_usr.h index 01c1ab1ccc..715fee0039 100644 --- a/src/config/param.i386_linux24_usr.h +++ b/src/config/param.i386_linux24_usr.h @@ -1,5 +1,5 @@ -#ifndef _PARAM_USR_I386_LINUX24_H_ -#define _PARAM_USR_I386_LINUX24_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H /* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel, * it's a judgment call. If something is obviously i386 specific, use that @@ -51,4 +51,4 @@ #define CMSERVERPREF #endif -#endif /* _PARAM_USR_I386_LINUX24_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.i386_nt40.h b/src/config/param.i386_nt40.h index 5ca03c8756..387ef4e116 100644 --- a/src/config/param.i386_nt40.h +++ b/src/config/param.i386_nt40.h @@ -7,8 +7,8 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef _PARAM_NT35_H_ -#define _PARAM_NT35_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #define AFS_NT40_ENV 1 @@ -58,4 +58,4 @@ typedef char * caddr_t; #define pipe(fdp) _pipe(fdp, 4096, _O_BINARY) #define snprintf _snprintf -#endif /* _PARAM_NT35_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.i386_win95.h b/src/config/param.i386_win95.h index 92e2e49274..2e636912d6 100644 --- a/src/config/param.i386_win95.h +++ b/src/config/param.i386_win95.h @@ -7,8 +7,8 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef _PARAM_WIN95_H_ -#define _PARAM_WIN95_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #define AFS_NT40_ENV 1 @@ -57,4 +57,4 @@ typedef int ssize_t; typedef char * caddr_t; #define pipe(fdp) _pipe(fdp, 4096, _O_BINARY) -#endif /* _PARAM_WIN95_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.ppc_darwin_12.h b/src/config/param.ppc_darwin_12.h index 39b6621090..de44b567c1 100644 --- a/src/config/param.ppc_darwin_12.h +++ b/src/config/param.ppc_darwin_12.h @@ -1,5 +1,5 @@ -#ifndef _PARAM_PPC_DARWIN_H_ -#define _PARAM_PPC_DARWIN_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #define AFS_ENV 1 #define AFS_64BIT_ENV 1 /* Defines afs_int32 as int, not long. */ @@ -55,4 +55,4 @@ #define VN_HOLD(vp) VREF(((struct vnode *)(vp))) #endif -#endif /* _PARAM_PPC_DARWIN_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.ppc_darwin_12_usr.h b/src/config/param.ppc_darwin_12_usr.h index 328b77eaee..2a1c7e777d 100644 --- a/src/config/param.ppc_darwin_12_usr.h +++ b/src/config/param.ppc_darwin_12_usr.h @@ -1,5 +1,5 @@ -#ifndef _PARAM_PPC_DARWIN_H_ -#define _PARAM_PPC_DARWIN_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #define AFS_VFSINCL_ENV 1 /* NOBODY uses this.... */ #define AFS_ENV 1 @@ -43,4 +43,4 @@ #define CMSERVERPREF #endif -#endif /* _PARAM_PPC_DARWIN_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.ppc_darwin_13.h b/src/config/param.ppc_darwin_13.h index e04c6051e2..b2df4fa5ca 100644 --- a/src/config/param.ppc_darwin_13.h +++ b/src/config/param.ppc_darwin_13.h @@ -1,5 +1,5 @@ -#ifndef _PARAM_PPC_DARWIN_H_ -#define _PARAM_PPC_DARWIN_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #define AFS_ENV 1 #define AFS_64BIT_ENV 1 /* Defines afs_int32 as int, not long. */ @@ -57,4 +57,4 @@ #define VN_HOLD(vp) VREF(((struct vnode *)(vp))) #endif -#endif /* _PARAM_PPC_DARWIN_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.ppc_darwin_13_usr.h b/src/config/param.ppc_darwin_13_usr.h index 80664b2778..7a70c48589 100644 --- a/src/config/param.ppc_darwin_13_usr.h +++ b/src/config/param.ppc_darwin_13_usr.h @@ -1,5 +1,5 @@ -#ifndef _PARAM_PPC_DARWIN_H_ -#define _PARAM_PPC_DARWIN_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #define AFS_VFSINCL_ENV 1 /* NOBODY uses this.... */ #define AFS_ENV 1 @@ -45,4 +45,4 @@ #define CMSERVERPREF #endif -#endif /* _PARAM_PPC_DARWIN_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.ppc_linux22.h b/src/config/param.ppc_linux22.h index 1438cb90e9..32a1e9fbea 100644 --- a/src/config/param.ppc_linux22.h +++ b/src/config/param.ppc_linux22.h @@ -1,5 +1,5 @@ -#ifndef _PARAM_PPC_LINUX22_H_ -#define _PARAM_PPC_LINUX22_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H /* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel, * it's a judgment call. If something is obviously ppc specific, use that @@ -66,4 +66,4 @@ #endif #endif /* KERNEL */ -#endif /* _PARAM_PPC_LINUX22_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.ppc_linux22_usr.h b/src/config/param.ppc_linux22_usr.h index 51dc915ddb..4e38287a14 100644 --- a/src/config/param.ppc_linux22_usr.h +++ b/src/config/param.ppc_linux22_usr.h @@ -1,5 +1,5 @@ -#ifndef _PARAM_USR_PPC_LINUX22_H_ -#define _PARAM_USR_PPC_LINUX22_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H /* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel, * it's a judgment call. If something is obviously ppc specific, use that @@ -50,4 +50,4 @@ #define CMSERVERPREF #endif -#endif /* _PARAM_USR_PPC_LINUX22_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.ppc_linux24.h b/src/config/param.ppc_linux24.h index c0f898f7a7..c1cfd65157 100644 --- a/src/config/param.ppc_linux24.h +++ b/src/config/param.ppc_linux24.h @@ -1,5 +1,5 @@ -#ifndef _PARAM_PPC_LINUX24_H_ -#define _PARAM_PPC_LINUX24_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H /* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel, * it's a judgment call. If something is obviously ppc specific, use that @@ -67,4 +67,4 @@ #endif #endif /* KERNEL */ -#endif /* _PARAM_PPC_LINUX24_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.ppc_linux24_usr.h b/src/config/param.ppc_linux24_usr.h index bc9c781a5f..d21d75def1 100644 --- a/src/config/param.ppc_linux24_usr.h +++ b/src/config/param.ppc_linux24_usr.h @@ -1,5 +1,5 @@ -#ifndef _PARAM_USR_PPC_LINUX24_H_ -#define _PARAM_USR_PPC_LINUX24_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H /* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel, * it's a judgment call. If something is obviously ppc specific, use that @@ -51,4 +51,4 @@ #define CMSERVERPREF #endif -#endif /* _PARAM_USR_PPC_LINUX24_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.rs_aix42.h b/src/config/param.rs_aix42.h index e300213e3a..f25ec5d4e4 100644 --- a/src/config/param.rs_aix42.h +++ b/src/config/param.rs_aix42.h @@ -7,8 +7,8 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef _PARAM_RS_AIX42_H_ -#define _PARAM_RS_AIX42_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #define AFS_AIX_ENV 1 #define AFS_AIX32_ENV 1 @@ -63,4 +63,4 @@ #define va_nodeid va_serialno #endif /* !_KERNEL */ #define AFS_DIRENT -#endif /* _PARAM_RS_AIX42_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.rs_aix42_usr.h b/src/config/param.rs_aix42_usr.h index f2bf48ae41..67397cbeab 100644 --- a/src/config/param.rs_aix42_usr.h +++ b/src/config/param.rs_aix42_usr.h @@ -7,8 +7,8 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef _PARAM_RS_AIX42_H_ -#define _PARAM_RS_AIX42_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #define AFS_VFS_ENV 1 /* Used only in vfsck code; is it needed any more???? */ @@ -73,4 +73,4 @@ #define CMSERVERPREF #endif -#endif /* _PARAM_RS_AIX42_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.s390_linux22.h b/src/config/param.s390_linux22.h index d3546712ec..9614398cfb 100644 --- a/src/config/param.s390_linux22.h +++ b/src/config/param.s390_linux22.h @@ -1,8 +1,8 @@ /* Copyright (C) 1998 by Transarc Corporation */ -#ifndef _PARAM_S390_LINUX22_H_ -#define _PARAM_S390_LINUX22_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H /* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel, * it's a judgment call. If something is obviously s390 specific, use that @@ -71,4 +71,4 @@ #endif #endif /* KERNEL */ -#endif /* _PARAM_S390_LINUX20_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.s390_linux22_usr.h b/src/config/param.s390_linux22_usr.h index b26439c049..1712eb57a2 100644 --- a/src/config/param.s390_linux22_usr.h +++ b/src/config/param.s390_linux22_usr.h @@ -1,8 +1,8 @@ /* Copyright (C) 1998 by Transarc Corporation */ -#ifndef _PARAM_USR_S390_LINUX22_H_ -#define _PARAM_USR_S390_LINUX22_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H /* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel, * it's a judgment call. If something is obviously s390 specific, use that @@ -53,4 +53,4 @@ #define CMSERVERPREF #endif -#endif /* _PARAM_USR_S390_LINUX22_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.s390_linux24.h b/src/config/param.s390_linux24.h index 3aacd444dd..66c335eb0a 100644 --- a/src/config/param.s390_linux24.h +++ b/src/config/param.s390_linux24.h @@ -1,8 +1,8 @@ /* Copyright (C) 1998 by Transarc Corporation */ -#ifndef _PARAM_S390_LINUX24_H_ -#define _PARAM_S390_LINUX24_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H /* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel, * it's a judgment call. If something is obviously s390 specific, use that @@ -71,4 +71,4 @@ #endif #endif /* KERNEL */ -#endif /* _PARAM_S390_LINUX24_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.s390_linux24_usr.h b/src/config/param.s390_linux24_usr.h index de0dd5b7bd..d8d56fe59e 100644 --- a/src/config/param.s390_linux24_usr.h +++ b/src/config/param.s390_linux24_usr.h @@ -1,8 +1,8 @@ /* Copyright (C) 1998 by Transarc Corporation */ -#ifndef _PARAM_USR_S390_LINUX24_H_ -#define _PARAM_USR_S390_LINUX24_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H /* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel, * it's a judgment call. If something is obviously s390 specific, use that @@ -54,4 +54,4 @@ #define CMSERVERPREF #endif -#endif /* _PARAM_USR_S390_LINUX24_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.sgi_62.h b/src/config/param.sgi_62.h index 39f58a206e..88749e23c5 100644 --- a/src/config/param.sgi_62.h +++ b/src/config/param.sgi_62.h @@ -7,8 +7,8 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef _PARAM_SGI_62_H -#define _PARAM_SGI_62_H +#ifndef AFS_PARAM_HH +#define AFS_PARAM_HH #define AFS_VFS_ENV 1 @@ -97,4 +97,4 @@ #ifndef CMSERVERPREF #define CMSERVERPREF #endif -#endif /* _PARAM_SGI_62_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.sgi_62_usr.h b/src/config/param.sgi_62_usr.h index 279941bef0..f6a919a3d1 100644 --- a/src/config/param.sgi_62_usr.h +++ b/src/config/param.sgi_62_usr.h @@ -7,8 +7,8 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef _PARAM_USR_SGI62_H_ -#define _PARAM_USR_SGI62_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #define AFS_VFS_ENV 1 /* Used only in vfsck code; is it needed any more???? */ @@ -64,4 +64,4 @@ #endif #define ROOTINO UFSROOTINO -#endif /* _PARAM_USR_SGI62_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.sgi_63.h b/src/config/param.sgi_63.h index c3a6385177..1163011ec4 100644 --- a/src/config/param.sgi_63.h +++ b/src/config/param.sgi_63.h @@ -7,8 +7,8 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef _PARAM_SGI_62_H -#define _PARAM_SGI_62_H +#ifndef AFS_PARAM_HH +#define AFS_PARAM_HH #define AFS_VFS_ENV 1 @@ -91,4 +91,4 @@ #ifndef CMSERVERPREF #define CMSERVERPREF #endif -#endif /* _PARAM_SGI_62_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.sgi_63_usr.h b/src/config/param.sgi_63_usr.h index b106a583d0..3f49950807 100644 --- a/src/config/param.sgi_63_usr.h +++ b/src/config/param.sgi_63_usr.h @@ -7,8 +7,8 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef _PARAM_USR_SGI63_H_ -#define _PARAM_USR_SGI63_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #define AFS_VFS_ENV 1 /* Used only in vfsck code; is it needed any more???? */ @@ -65,4 +65,4 @@ #endif #define ROOTINO UFSROOTINO -#endif /* _PARAM_USR_SGI63_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.sgi_64.h b/src/config/param.sgi_64.h index 9c90a8dd3e..2650bfa6fb 100644 --- a/src/config/param.sgi_64.h +++ b/src/config/param.sgi_64.h @@ -7,8 +7,8 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef _PARAM_SGI_64_H -#define _PARAM_SGI_64_H +#ifndef AFS_PARAM_HH +#define AFS_PARAM_HH #define AFS_VFS_ENV 1 @@ -107,4 +107,4 @@ #ifndef CMSERVERPREF #define CMSERVERPREF #endif -#endif /* _PARAM_SGI_64_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.sgi_64_usr.h b/src/config/param.sgi_64_usr.h index 0933ad14d4..308d57b2d9 100644 --- a/src/config/param.sgi_64_usr.h +++ b/src/config/param.sgi_64_usr.h @@ -7,8 +7,8 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef _PARAM_USR_SGI64_H_ -#define _PARAM_USR_SGI64_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #define AFS_VFS_ENV 1 /* Used only in vfsck code; is it needed any more???? */ @@ -66,4 +66,4 @@ #endif #define ROOTINO UFSROOTINO -#endif /* _PARAM_USR_SGI64_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.sgi_65.h b/src/config/param.sgi_65.h index 79527666eb..de7e674184 100644 --- a/src/config/param.sgi_65.h +++ b/src/config/param.sgi_65.h @@ -7,8 +7,8 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef _PARAM_SGI_65_H -#define _PARAM_SGI_65_H +#ifndef AFS_PARAM_HH +#define AFS_PARAM_HH #define AFS_VFS_ENV 1 @@ -115,4 +115,4 @@ #ifndef CMSERVERPREF #define CMSERVERPREF #endif -#endif /* _PARAM_SGI_65_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.sgi_65_usr.h b/src/config/param.sgi_65_usr.h index 72fb4617e3..eb32d0ea2d 100644 --- a/src/config/param.sgi_65_usr.h +++ b/src/config/param.sgi_65_usr.h @@ -7,8 +7,8 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef _PARAM_USR_SGI65_H_ -#define _PARAM_USR_SGI65_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #define AFS_VFS_ENV 1 /* Used only in vfsck code; is it needed any more???? */ @@ -68,4 +68,4 @@ #endif #define ROOTINO UFSROOTINO -#endif /* _PARAM_USR_SGI65_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.sparc64_linux22.h b/src/config/param.sparc64_linux22.h index cbf60d4500..3e4a44a2a1 100644 --- a/src/config/param.sparc64_linux22.h +++ b/src/config/param.sparc64_linux22.h @@ -1,8 +1,8 @@ /* Copyright (C) 1998 by Transarc Corporation */ -#ifndef _PARAM_SPARC64_LINUX22_H_ -#define _PARAM_SPARC64_LINUX22_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H /* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel, * it's a judgment call. If something is obviously sparc64 specific, use that @@ -83,4 +83,4 @@ #endif #endif -#endif /* _PARAM_SPARC64_LINUX20_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.sparc64_linux22_usr.h b/src/config/param.sparc64_linux22_usr.h index a5c5052fa0..c61fd9c678 100644 --- a/src/config/param.sparc64_linux22_usr.h +++ b/src/config/param.sparc64_linux22_usr.h @@ -1,8 +1,8 @@ /* Copyright (C) 1998 by Transarc Corporation */ -#ifndef _PARAM_USR_SPARC64_LINUX22_H_ -#define _PARAM_USR_SPARC64_LINUX22_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H /* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel, * it's a judgment call. If something is obviously sparc64 specific, use that @@ -53,4 +53,4 @@ #define CMSERVERPREF #endif -#endif /* _PARAM_USR_SPARC64_LINUX22_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.sparc_linux22.h b/src/config/param.sparc_linux22.h index cc36f5fc58..0a2a797974 100644 --- a/src/config/param.sparc_linux22.h +++ b/src/config/param.sparc_linux22.h @@ -1,8 +1,8 @@ /* Copyright (C) 1998 by Transarc Corporation */ -#ifndef _PARAM_SPARC_LINUX22_H_ -#define _PARAM_SPARC_LINUX22_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H /* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel, * it's a judgment call. If something is obviously sparc specific, use that @@ -84,4 +84,4 @@ #endif #endif -#endif /* _PARAM_SPARC_LINUX20_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.sparc_linux22_usr.h b/src/config/param.sparc_linux22_usr.h index 4c488a5908..77ef74e28d 100644 --- a/src/config/param.sparc_linux22_usr.h +++ b/src/config/param.sparc_linux22_usr.h @@ -1,8 +1,8 @@ /* Copyright (C) 1998 by Transarc Corporation */ -#ifndef _PARAM_USR_SPARC_LINUX22_H_ -#define _PARAM_USR_SPARC_LINUX22_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H /* In user space the AFS_LINUX20_ENV should be sufficient. In the kernel, * it's a judgment call. If something is obviously sparc specific, use that @@ -53,4 +53,4 @@ #define CMSERVERPREF #endif -#endif /* _PARAM_USR_SPARC_LINUX22_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.sun4x_55.h b/src/config/param.sun4x_55.h index bfad800cba..77080d0d86 100644 --- a/src/config/param.sun4x_55.h +++ b/src/config/param.sun4x_55.h @@ -7,8 +7,8 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef _PARAM_SUN4C_51_H_ -#define _PARAM_SUN4C_51_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #define AFS_VFS_ENV 1 /* Used only in vfsck/* code; is it needed any more???? */ @@ -84,4 +84,4 @@ #endif #define ROOTINO UFSROOTINO -#endif /* _PARAM_SUN4C_51_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.sun4x_55_usr.h b/src/config/param.sun4x_55_usr.h index c874d2431a..105847e2a6 100644 --- a/src/config/param.sun4x_55_usr.h +++ b/src/config/param.sun4x_55_usr.h @@ -7,8 +7,8 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef _PARAM_SUN4C_51_H_ -#define _PARAM_SUN4C_51_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #define AFS_VFS_ENV 1 /* Used only in vfsck code; is it needed any more???? */ @@ -62,4 +62,4 @@ #endif #define ROOTINO UFSROOTINO -#endif /* _PARAM_SUN4C_51_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.sun4x_56.h b/src/config/param.sun4x_56.h index 195e6e5a76..64abc206ec 100644 --- a/src/config/param.sun4x_56.h +++ b/src/config/param.sun4x_56.h @@ -7,8 +7,8 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef _PARAM_SUN4X_56_H_ -#define _PARAM_SUN4X_56_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #include @@ -83,4 +83,4 @@ #endif #define ROOTINO UFSROOTINO -#endif /* _PARAM_SUN4X_56_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.sun4x_56_usr.h b/src/config/param.sun4x_56_usr.h index 39f43d5e6e..b616e4bfe7 100644 --- a/src/config/param.sun4x_56_usr.h +++ b/src/config/param.sun4x_56_usr.h @@ -7,8 +7,8 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef _PARAM_SUN4C_51_H_ -#define _PARAM_SUN4C_51_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #define AFS_VFS_ENV 1 /* Used only in vfsck code; is it needed any more???? */ @@ -63,4 +63,4 @@ #endif #define ROOTINO UFSROOTINO -#endif /* _PARAM_SUN4C_51_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.sun4x_57.h b/src/config/param.sun4x_57.h index 0c679a7602..96456f0281 100644 --- a/src/config/param.sun4x_57.h +++ b/src/config/param.sun4x_57.h @@ -7,8 +7,8 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef _PARAM_SUN4X_57_H_ -#define _PARAM_SUN4X_57_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #define AFS_VFS_ENV 1 /* Used only in vfsck/* code; is it needed any more???? */ @@ -109,4 +109,4 @@ #endif #define ROOTINO UFSROOTINO -#endif /* _PARAM_SUN4X_57_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.sun4x_57_usr.h b/src/config/param.sun4x_57_usr.h index c2a33d69ea..dfb623a872 100644 --- a/src/config/param.sun4x_57_usr.h +++ b/src/config/param.sun4x_57_usr.h @@ -7,8 +7,8 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef _PARAM_SUN4C_51_H_ -#define _PARAM_SUN4C_51_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #define AFS_VFS_ENV 1 /* Used only in vfsck code; is it needed any more???? */ @@ -63,4 +63,4 @@ #endif #define ROOTINO UFSROOTINO -#endif /* _PARAM_SUN4C_51_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.sun4x_58.h b/src/config/param.sun4x_58.h index 5e48cf7dc8..a4405847e2 100644 --- a/src/config/param.sun4x_58.h +++ b/src/config/param.sun4x_58.h @@ -1,5 +1,5 @@ -#ifndef _PARAM_SUN4X_58_H_ -#define _PARAM_SUN4X_58_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #define AFS_VFS_ENV 1 /* Used only in vfsck/* code; is it needed any more???? */ @@ -106,4 +106,4 @@ #endif #define ROOTINO UFSROOTINO -#endif /* _PARAM_SUN4X_58_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.sun4x_58_usr.h b/src/config/param.sun4x_58_usr.h index 1147ef3403..98d41088f4 100644 --- a/src/config/param.sun4x_58_usr.h +++ b/src/config/param.sun4x_58_usr.h @@ -1,5 +1,5 @@ -#ifndef _PARAM_SUN4X_58_H_ -#define _PARAM_SUN4X_58_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #define AFS_VFS_ENV 1 /* Used only in vfsck code; is it needed any more???? */ @@ -56,4 +56,4 @@ #endif #define ROOTINO UFSROOTINO -#endif /* _PARAM_SUN4X_58_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/param.sunx86_54.h b/src/config/param.sunx86_54.h index e3e2ce0534..e62769c517 100644 --- a/src/config/param.sunx86_54.h +++ b/src/config/param.sunx86_54.h @@ -7,8 +7,8 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef _PARAM_SUN4C_51_H_ -#define _PARAM_SUN4C_51_H_ +#ifndef AFS_PARAM_H +#define AFS_PARAM_H #include @@ -72,4 +72,4 @@ #define ROOTINO UFSROOTINO -#endif /* _PARAM_SUN4C_51_H_ */ +#endif /* AFS_PARAM_H */ diff --git a/src/config/stds.h b/src/config/stds.h index 21b22e3b6a..10e184ad13 100644 --- a/src/config/stds.h +++ b/src/config/stds.h @@ -35,12 +35,6 @@ typedef void *opaque; pragma Off(Prototype_override_warnings); #endif /* defined(__HIGHC__) */ #endif -/* - * This makes including the RCS id in object files less painful. Put this near - * the beginning of .c files (not .h files). Do NOT follow it with a - * semi-colon. The argument should be a double quoted string containing the - * standard RCS Header keyword. - */ /* Now some types to enhance portability. Always use these on the wire or when * laying out shared structures on disk. */ diff --git a/src/config/util_cr.c b/src/config/util_cr.c index ded70a5e50..eb17b8d587 100644 --- a/src/config/util_cr.c +++ b/src/config/util_cr.c @@ -9,7 +9,7 @@ */ #include "stdio.h" -#include "io.h" +#include "io.h" #include #include "string.h" #include "process.h" diff --git a/src/config/venus.h b/src/config/venus.h index ec1263a5e4..c9dea5d522 100644 --- a/src/config/venus.h +++ b/src/config/venus.h @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS) -#endif /* /usr/andrew/include/vice/ioctl.h Definitions of Venus-specific ioctls for Venus 2. diff --git a/src/dauth/Makefile b/src/dauth/Makefile index 2e428afaa2..1c05b9e4fe 100644 --- a/src/dauth/Makefile +++ b/src/dauth/Makefile @@ -12,7 +12,7 @@ include ../config/Makefile.${SYS_NAME} COMPILE_ET = ${SRCDIR}bin/compile_et OPTMZ= -g -CFLAGS = ${OPTMZ} -I${SRCDIR}include ${XCFLAGS} +CFLAGS = ${OPTMZ} -I${TOP_SRCDIR}/config -I${SRCDIR}include ${XCFLAGS} LDFLAGS = ${OPTMZ} ${XLDFLAGS} INCLS= ${SRCDIR}include/ubik.h \ diff --git a/src/dauth/dlog.c b/src/dauth/dlog.c index afce5ec553..f46bbbbd72 100644 --- a/src/dauth/dlog.c +++ b/src/dauth/dlog.c @@ -69,6 +69,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/dauth/dpass.c b/src/dauth/dpass.c index 5529ef5464..07b7e2a908 100644 --- a/src/dauth/dpass.c +++ b/src/dauth/dpass.c @@ -16,6 +16,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/des/andrew-conf.h b/src/des/andrew-conf.h index ed4cc4ab8a..6a730b8f4f 100644 --- a/src/des/andrew-conf.h +++ b/src/des/andrew-conf.h @@ -2,8 +2,6 @@ * Andrew configuration. */ -#include -#include #ifdef vax #include "conf-bsdvax.h" #else diff --git a/src/des/cbc_encrypt.c b/src/des/cbc_encrypt.c index 7b52e51440..222cb11bfe 100644 --- a/src/des/cbc_encrypt.c +++ b/src/des/cbc_encrypt.c @@ -21,6 +21,10 @@ #include #include #include +#include + +RCSID("$Header$"); + #define XPRT_CBC_ENCRYPT diff --git a/src/des/cksum.c b/src/des/cksum.c index 224435666d..e3490b4486 100644 --- a/src/des/cksum.c +++ b/src/des/cksum.c @@ -18,6 +18,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #if defined(HAVE_STRINGS_H) diff --git a/src/des/crypt.c b/src/des/crypt.c index d60375c50b..2e7c3a43c5 100644 --- a/src/des/crypt.c +++ b/src/des/crypt.c @@ -34,9 +34,10 @@ * SUCH DAMAGE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static char sccsid[] = "@(#)crypt.c 5.11 (Berkeley) 6/25/91"; -#endif /* LIBC_SCCS and not lint */ +#include +#include + +RCSID("$Header$"); #ifdef AFS_NT40_ENV #include diff --git a/src/des/debug_decl.c b/src/des/debug_decl.c index 1e66104137..c6b5713659 100644 --- a/src/des/debug_decl.c +++ b/src/des/debug_decl.c @@ -7,5 +7,10 @@ * Declaration of debugging flag. */ +#include +#include + +RCSID("$Header$"); + #include int des_debug = 0; diff --git a/src/des/des.c b/src/des/des.c index 0e2b020c63..9350c6975c 100644 --- a/src/des/des.c +++ b/src/des/des.c @@ -31,11 +31,14 @@ * * originally written by Steve Miller, MIT Project Athena */ - #include -#include #include +#include + +RCSID("$Header$"); + +#include #ifdef AFS_PTHREAD_ENV #include #endif /* AFS_PTHREAD_ENV */ diff --git a/src/des/enc.c b/src/des/enc.c index b0ec0fcae1..e63da85560 100644 --- a/src/des/enc.c +++ b/src/des/enc.c @@ -5,9 +5,10 @@ * . */ -#ifndef lint -static char rcsid_enc_c[] = -#endif /* lint */ +#include +#include + +RCSID("$Header$"); #include #include diff --git a/src/des/key_parity.c b/src/des/key_parity.c index 1ff5b273ab..4a2dc9afac 100644 --- a/src/des/key_parity.c +++ b/src/des/key_parity.c @@ -14,6 +14,11 @@ * */ +#include +#include + +RCSID("$Header$"); + #include #include #include "des_internal.h" diff --git a/src/des/key_sched.c b/src/des/key_sched.c index 47717cafdd..f23abced88 100644 --- a/src/des/key_sched.c +++ b/src/des/key_sched.c @@ -27,6 +27,11 @@ * Originally written 6/85 by Steve Miller, MIT Project Athena. */ +#include +#include + +RCSID("$Header$"); + #include #include "des_internal.h" #include diff --git a/src/des/make_e.c b/src/des/make_e.c index 608f93407b..d26ab23b7a 100644 --- a/src/des/make_e.c +++ b/src/des/make_e.c @@ -8,9 +8,10 @@ * originally written 8/85 by Steve Miller. */ -#ifndef lint -static char rcsid_make_e_c[] = -#endif /* lint */ +#include +#include + +RCSID("$Header$"); #include #include diff --git a/src/des/make_fp.c b/src/des/make_fp.c index c11e556876..152a82b424 100644 --- a/src/des/make_fp.c +++ b/src/des/make_fp.c @@ -8,6 +8,11 @@ * implementing the final permutation of the DES. */ +#include +#include + +RCSID("$Header$"); + #include #include #include "des_internal.h" diff --git a/src/des/make_ip.c b/src/des/make_ip.c index 3c5de48de3..cb2020bcbd 100644 --- a/src/des/make_ip.c +++ b/src/des/make_ip.c @@ -8,6 +8,11 @@ * permutation of the DES. */ +#include +#include + +RCSID("$Header$"); + #include #include #include "des_internal.h" diff --git a/src/des/make_keyperm.c b/src/des/make_keyperm.c index 60791fcedf..dba73c8c5b 100644 --- a/src/des/make_keyperm.c +++ b/src/des/make_keyperm.c @@ -12,6 +12,11 @@ * subscripts starting at 0. */ +#include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/des/make_odd.c b/src/des/make_odd.c index f1a3a8524a..2e9447f499 100644 --- a/src/des/make_odd.c +++ b/src/des/make_odd.c @@ -7,6 +7,11 @@ * This routine generates an odd-parity table for use in key generation. */ +#include +#include + +RCSID("$Header$"); + #include #include diff --git a/src/des/make_p.c b/src/des/make_p.c index 837df4b5c3..865ede2a5f 100644 --- a/src/des/make_p.c +++ b/src/des/make_p.c @@ -7,6 +7,11 @@ * This routine generates the P permutation code for the DES. */ +#include +#include + +RCSID("$Header$"); + #include #include #include "des_internal.h" diff --git a/src/des/make_p_table.c b/src/des/make_p_table.c index a86fe445c0..152b52db46 100644 --- a/src/des/make_p_table.c +++ b/src/des/make_p_table.c @@ -6,6 +6,11 @@ * */ +#include +#include + +RCSID("$Header$"); + #include #include #include "des_internal.h" diff --git a/src/des/make_s.c b/src/des/make_s.c index 48985e04a2..23de6585d4 100644 --- a/src/des/make_s.c +++ b/src/des/make_s.c @@ -5,6 +5,11 @@ * see the file . */ +#include +#include + +RCSID("$Header$"); + #include #include #include "des_internal.h" diff --git a/src/des/make_s_table.c b/src/des/make_s_table.c index e53779f6cc..2e11491bd6 100644 --- a/src/des/make_s_table.c +++ b/src/des/make_s_table.c @@ -5,6 +5,11 @@ * see the file . */ +#include +#include + +RCSID("$Header$"); + #include #include #include "des_internal.h" diff --git a/src/des/misc.c b/src/des/misc.c index 10f2d82b77..1d090cf2cb 100644 --- a/src/des/misc.c +++ b/src/des/misc.c @@ -10,6 +10,11 @@ * generating the intermediate source files. */ +#include +#include + +RCSID("$Header$"); + #include #include #include "des_internal.h" diff --git a/src/des/new_rnd_key.c b/src/des/new_rnd_key.c index 557a8fec93..b00558b6a4 100644 --- a/src/des/new_rnd_key.c +++ b/src/des/new_rnd_key.c @@ -16,6 +16,10 @@ #include #include +#include + +RCSID("$Header$"); + #include #include "des_internal.h" #ifdef AFS_PTHREAD_ENV diff --git a/src/des/pcbc_encrypt.c b/src/des/pcbc_encrypt.c index 79b0eceec0..e6ac90495b 100644 --- a/src/des/pcbc_encrypt.c +++ b/src/des/pcbc_encrypt.c @@ -24,6 +24,10 @@ #include #include #include +#include + +RCSID("$Header$"); + #include "des_internal.h" #define XPRT_PCBC_ENCRYPT diff --git a/src/des/quad_cksum.c b/src/des/quad_cksum.c index 7eab559e9c..af88377902 100644 --- a/src/des/quad_cksum.c +++ b/src/des/quad_cksum.c @@ -63,6 +63,11 @@ * but nontheless is 64 bit arithmetic. */ +#include +#include + +RCSID("$Header$"); + #include /* System include files */ diff --git a/src/des/read_pssword.c b/src/des/read_pssword.c index 9cbe55868d..f58742f014 100644 --- a/src/des/read_pssword.c +++ b/src/des/read_pssword.c @@ -12,6 +12,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include "conf.h" diff --git a/src/des/strng_to_key.c b/src/des/strng_to_key.c index 43ee72bc4d..3a8173ea2d 100644 --- a/src/des/strng_to_key.c +++ b/src/des/strng_to_key.c @@ -23,6 +23,10 @@ #include #include #include +#include + +RCSID("$Header$"); + #include #include "des_internal.h" #if defined(HAVE_STRINGS_H) diff --git a/src/des/test/key_test.c b/src/des/test/key_test.c index 92e162352d..02f201d9db 100644 --- a/src/des/test/key_test.c +++ b/src/des/test/key_test.c @@ -8,6 +8,11 @@ * -1 ==> error */ +#include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/des/test/testit.c b/src/des/test/testit.c index ee0925929d..ffab487a84 100644 --- a/src/des/test/testit.c +++ b/src/des/test/testit.c @@ -13,6 +13,10 @@ #include #include #include +#include + +RCSID("$Header$"); + #define MIN_ARGC 0 /* min # args, not incl flags */ #define MAX_ARGC 2 /* max # args, not incl flags */ diff --git a/src/des/test/verify.c b/src/des/test/verify.c index e115dfa582..c6723f38cf 100644 --- a/src/des/test/verify.c +++ b/src/des/test/verify.c @@ -16,6 +16,10 @@ #include #include #include +#include + +RCSID("$Header$"); + extern char *errmsg(); extern int des_string_to_key(); diff --git a/src/des/util.c b/src/des/util.c index 9be7e5d9de..1f92bf2f2d 100644 --- a/src/des/util.c +++ b/src/des/util.c @@ -7,6 +7,11 @@ * Miscellaneous debug printing utilities */ +#include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/des/weak_key.c b/src/des/weak_key.c index 0b6b4d7e3d..ccbfeca1e3 100644 --- a/src/des/weak_key.c +++ b/src/des/weak_key.c @@ -12,6 +12,11 @@ * Originally written 8/85 by Steve Miller, MIT Project Athena. */ +#include +#include + +RCSID("$Header$"); + #include #include "des_internal.h" #if defined(HAVE_STRINGS_H) diff --git a/src/dir/buffer.c b/src/dir/buffer.c index 886cb4f819..3d7a054f8f 100644 --- a/src/dir/buffer.c +++ b/src/dir/buffer.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include "dir.h" diff --git a/src/dir/dir.c b/src/dir/dir.c index 8ea21ddc00..081d56738d 100644 --- a/src/dir/dir.c +++ b/src/dir/dir.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #ifdef KERNEL #if !defined(UKERNEL) #include "../h/types.h" diff --git a/src/dir/salvage.c b/src/dir/salvage.c index 8accc45534..acc75fb7a6 100644 --- a/src/dir/salvage.c +++ b/src/dir/salvage.c @@ -7,11 +7,13 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif /* This is the directory salvager. It consists of two routines. The first, DirOK, checks to see if the directory looks good. If the directory does NOT look good, the approved procedure is to then call Salvage, which copies all the good entries from the damaged dir into a new directory. */ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_NT40_ENV diff --git a/src/dir/test/dtest.c b/src/dir/test/dtest.c index 6abc301f81..b8e94f44bb 100644 --- a/src/dir/test/dtest.c +++ b/src/dir/test/dtest.c @@ -7,10 +7,12 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif #define PAGESIZE 2048 #include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/dir/test/physio.c b/src/dir/test/physio.c index 97331a36c2..adce2b171a 100644 --- a/src/dir/test/physio.c +++ b/src/dir/test/physio.c @@ -16,6 +16,10 @@ /* First we have the kernel hacks' include files. */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_VFSINCL_ENV #include diff --git a/src/dir/test/test-salvage.c b/src/dir/test/test-salvage.c index 6067aac450..218ebac605 100644 --- a/src/dir/test/test-salvage.c +++ b/src/dir/test/test-salvage.c @@ -7,8 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif +#include +#include + +RCSID("$Header$"); + /* This is the salvage test program. */ main (argc, argv) diff --git a/src/export/cfgafs.c b/src/export/cfgafs.c index a3f33e9fa6..23fb5c553d 100644 --- a/src/export/cfgafs.c +++ b/src/export/cfgafs.c @@ -10,6 +10,11 @@ /* * cfgafs - load/configure the AFS kernel extension */ +#include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/export/cfgexport.c b/src/export/cfgexport.c index 2a47837d23..5c2d3d98b9 100644 --- a/src/export/cfgexport.c +++ b/src/export/cfgexport.c @@ -10,6 +10,11 @@ /* * cfgexport - load/configure the EXPORT kernel extension */ +#include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/export/export.c b/src/export/export.c index 73ec26e8ea..f8275f7899 100644 --- a/src/export/export.c +++ b/src/export/export.c @@ -11,6 +11,11 @@ * export - EXPORT kernel extension */ +#include +#include + +RCSID("$Header$"); + #define _KERNEL #include "sys/types.h" #include "sys/user.h" diff --git a/src/export/symtab.c b/src/export/symtab.c index d935afc53d..cbd8a5d78f 100644 --- a/src/export/symtab.c +++ b/src/export/symtab.c @@ -10,6 +10,11 @@ /* * symtab - symbol table routines */ +#include +#include + +RCSID("$Header$"); + #include "sys/types.h" #include "sym.h" diff --git a/src/finale/Makefile b/src/finale/Makefile index c1c2651e4c..67099f61da 100644 --- a/src/finale/Makefile +++ b/src/finale/Makefile @@ -11,7 +11,7 @@ SHELL = /bin/sh include ../config/Makefile.${SYS_NAME} -CFLAGS = -g -I${SRCDIR}include ${XCFLAGS} +CFLAGS = -g -I${TOP_SRCDIR}/config -I${SRCDIR}include ${XCFLAGS} LDFLAGS = -g ${XLDFLAGS} INCLS=${SRCDIR}include/ubik.h \ ${SRCDIR}include/lwp.h \ diff --git a/src/finale/translate_et.c b/src/finale/translate_et.c index d7f809aed6..87f9a7571a 100644 --- a/src/finale/translate_et.c +++ b/src/finale/translate_et.c @@ -7,31 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -/* - * Revision 1.8 90/03/02 12:00:19 - * Add bos error codes. - * Print usage message when called w/o arguments. - * If given multiple arguments, loop and translate each. - * - * Revision 1.7 89/12/30 00:31:06 - * renamed initialize_pr_error_table -> initialize_pt_error_table - * - * Revision 1.6 89/12/29 16:49:05 - * replaced all references of prserver/pr* -> ptserver/pt* - * - * Revision 1.5 89/05/12 09:44:36 - * Added prserver and ubik to list. - * - * Revision 1.4 89/03/13 12:30:38 - * Simplify code to call error_table_name a little. - * - * Revision 1.3 89/02/19 19:31:17 - * added the vlserver error package - * - * Revision 1.2 89/02/03 15:28:10 - * Added copyright, added cmd to list of known error_tables. - * */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/finale/translate_et_nt.c b/src/finale/translate_et_nt.c index 4753366020..a5973c1665 100644 --- a/src/finale/translate_et_nt.c +++ b/src/finale/translate_et_nt.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include diff --git a/src/fsint/Makefile b/src/fsint/Makefile index ae7665db8d..861d52906f 100644 --- a/src/fsint/Makefile +++ b/src/fsint/Makefile @@ -13,7 +13,7 @@ UKERNELDIR = ../libuafs/ MKDIR_IF_NEEDED=[ -d $$1 ] || mkdir -p $$1 OBJS=afsaux.o afscbint.cs.o afscbint.ss.o afscbint.xdr.o afsint.cs.o afsint.ss.o afsint.xdr.o -CFLAGS=${DBUG} -I${SRCDIR}include ${XCFLAGS} +CFLAGS=${DBUG} -I${TOP_SRCDIR}/config -I${SRCDIR}include ${XCFLAGS} KDSRCS=Kcallback.ss.c Kcallback.h Kvice.cs.c Kvice.h Kvice.xdr.c afscbint.h \ afsint.h KSRCS=${KDSRCS} afsaux.c diff --git a/src/fsint/afsaux.c b/src/fsint/afsaux.c index ce8c592a2a..1615da0509 100644 --- a/src/fsint/afsaux.c +++ b/src/fsint/afsaux.c @@ -7,10 +7,16 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif #ifdef KERNEL #include "../afs/param.h" +#else +#include +#endif +#include + +RCSID("$Header$"); + +#ifdef KERNEL #if defined(UKERNEL) #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" @@ -38,7 +44,6 @@ #endif /* defined(UKERNEL) */ #include "../afsint/afsint.h" #else /* KERNEL */ -# include # include # include "afsint.h" #endif /* KERNEL */ diff --git a/src/fsprobe/Makefile b/src/fsprobe/Makefile index a91c240d3f..97ac1db0f3 100644 --- a/src/fsprobe/Makefile +++ b/src/fsprobe/Makefile @@ -13,6 +13,7 @@ COMPONENT=fsprobe include ../config/Makefile.${SYS_NAME} CFLAGS=-g -I. \ + -I${TOP_SRCDIR}/config \ -I${SRCDIR}include \ -I${SRCDIR}include/afs \ -I${SRCDIR} \ diff --git a/src/fsprobe/fsprobe.c b/src/fsprobe/fsprobe.c index e4a1e9e5a3..0dfcc18f57 100644 --- a/src/fsprobe/fsprobe.c +++ b/src/fsprobe/fsprobe.c @@ -14,6 +14,10 @@ *------------------------------------------------------------------------*/ #include +#include + +RCSID("$Header$"); + #include /*Interface for this module*/ #include /*Lightweight process package*/ #include diff --git a/src/fsprobe/fsprobe_callback.c b/src/fsprobe/fsprobe_callback.c index f5e9c64767..4d2e97ba0b 100644 --- a/src/fsprobe/fsprobe_callback.c +++ b/src/fsprobe/fsprobe_callback.c @@ -22,6 +22,10 @@ *------------------------------------------------------------------------*/ #include +#include + +RCSID("$Header$"); + #include #include /*Standard I/O stuff*/ #include /*Callback interface defs*/ diff --git a/src/fsprobe/fsprobe_test.c b/src/fsprobe/fsprobe_test.c index 2f0c69adb8..309ef60300 100644 --- a/src/fsprobe/fsprobe_test.c +++ b/src/fsprobe/fsprobe_test.c @@ -13,6 +13,11 @@ * *------------------------------------------------------------------------*/ +#include +#include + +RCSID("$Header$"); + #include /*Interface for fsprobe module*/ /* diff --git a/src/ftpd43+/ftpcmd.y b/src/ftpd43+/ftpcmd.y index 93b76d8ae3..472676bbb5 100644 --- a/src/ftpd43+/ftpcmd.y +++ b/src/ftpd43+/ftpcmd.y @@ -24,10 +24,6 @@ %{ -#ifndef lint -static char sccsid[] = "@(#)ftpcmd.y 5.20.1.1 (Berkeley) 3/2/89"; -#endif /* not lint */ - #include #include #include diff --git a/src/ftpd43+/ftpd.c b/src/ftpd43+/ftpd.c index 24e752c5af..d91a96ff67 100644 --- a/src/ftpd43+/ftpd.c +++ b/src/ftpd43+/ftpd.c @@ -15,16 +15,6 @@ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#ifndef lint -char copyright[] = -"@(#) Copyright (c) 1985, 1988 Regents of the University of California.\n\ - All rights reserved.\n"; -#endif /* not lint */ - -#ifndef lint -static char sccsid[] = "@(#)ftpd.c 5.27.1.1 (Berkeley) 3/2/89"; -#endif /* not lint */ - /* * FTP server. */ diff --git a/src/ftpd43+/getusershell.c b/src/ftpd43+/getusershell.c index e83ff2e8a6..f89e2ee51b 100644 --- a/src/ftpd43+/getusershell.c +++ b/src/ftpd43+/getusershell.c @@ -15,10 +15,6 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static char sccsid[] = "@(#)getusershell.c 5.5 (Berkeley) 7/21/88"; -#endif /* LIBC_SCCS and not lint */ - #include #include #include diff --git a/src/ftpd43+/glob.c b/src/ftpd43+/glob.c index 9367a7c193..34b111a769 100644 --- a/src/ftpd43+/glob.c +++ b/src/ftpd43+/glob.c @@ -15,10 +15,6 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#ifndef lint -static char sccsid[] = "@(#)glob.c 5.7 (Berkeley) 12/14/88"; -#endif /* not lint */ - /* * C-shell glob for random programs. */ diff --git a/src/ftpd43+/logwtmp.c b/src/ftpd43+/logwtmp.c index d05240f6dc..e09ea0fabc 100644 --- a/src/ftpd43+/logwtmp.c +++ b/src/ftpd43+/logwtmp.c @@ -14,13 +14,8 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * static char sccsid[] = "@(#)logwtmp.c 5.2 (Berkeley) 9/20/88"; */ -#ifndef lint -static char sccsid[] = "@(#)logwtmp.c 5.2 (Berkeley) 9/22/88"; -#endif /* not lint */ - #include #include #include diff --git a/src/ftpd43+/popen.c b/src/ftpd43+/popen.c index 2197803294..4cf0cb678d 100644 --- a/src/ftpd43+/popen.c +++ b/src/ftpd43+/popen.c @@ -17,13 +17,8 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * static char sccsid[] = "@(#)popen.c 5.7 (Berkeley) 9/1/88"; */ -#ifndef lint -static char sccsid[] = "@(#)popen.c 5.2 (Berkeley) 9/22/88"; -#endif /* not lint */ - #include #include #include diff --git a/src/ftpd43+/telnet.h b/src/ftpd43+/telnet.h index 6a18f448fb..d1f480d4af 100644 --- a/src/ftpd43+/telnet.h +++ b/src/ftpd43+/telnet.h @@ -2,9 +2,6 @@ * LICENSED MATERIALS - PROPERTY OF IBM */ -#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS) -#endif - /* * Copyright (c) 1983 Regents of the University of California. * All rights reserved. The Berkeley software License Agreement diff --git a/src/gtx/Makefile b/src/gtx/Makefile index ce627b301b..63c028d3cc 100644 --- a/src/gtx/Makefile +++ b/src/gtx/Makefile @@ -13,7 +13,8 @@ COMPONENT=gtx include ../config/Makefile.${SYS_NAME} COMPILE_ET=$(SRCDIR)bin/compile_et -CFLAGS= ${DBUG} -I. -I${SRCDIR}include -I${SRCDIR}include/afs ${XCFLAGS} +CFLAGS= ${DBUG} -I. -I${TOP_SRCDIR}/config \ + -I${SRCDIR}include -I${SRCDIR}include/afs ${XCFLAGS} LDFLAGS = ${XLDFLAGS} #RPCINCLS=${SRCDIR}include/lwp.h ${SRCDIR}include/rx/rx.h bosint.h RPCINCLS= diff --git a/src/gtx/X11windows.c b/src/gtx/X11windows.c index 7295360594..ee6ec30416 100644 --- a/src/gtx/X11windows.c +++ b/src/gtx/X11windows.c @@ -15,6 +15,11 @@ * *------------------------------------------------------------------------*/ +#include +#include + +RCSID("$Header$"); + #include "gtxX11win.h" /*Interface definition*/ #include /*Standard I/O package*/ diff --git a/src/gtx/cb_test.c b/src/gtx/cb_test.c index 93074b7eba..98c4e0eeaa 100644 --- a/src/gtx/cb_test.c +++ b/src/gtx/cb_test.c @@ -11,6 +11,11 @@ * cb_test: A test of the gator text circular buffer package. *------------------------------------------------------------------------*/ +#include +#include + +RCSID("$Header$"); + #include "gtxtextcb.h" /*Module interface*/ diff --git a/src/gtx/curses_test.c b/src/gtx/curses_test.c index ce6022625e..d2abe2f106 100644 --- a/src/gtx/curses_test.c +++ b/src/gtx/curses_test.c @@ -11,6 +11,11 @@ * Test of the curses package, to make sure I really understand how to use it. */ +#include +#include + +RCSID("$Header$"); + #if defined(AFS_HPUX110_ENV) && !defined(__HP_CURSES) #define __HP_CURSES #endif diff --git a/src/gtx/curseswindows.c b/src/gtx/curseswindows.c index 0757bd0049..d2810075af 100644 --- a/src/gtx/curseswindows.c +++ b/src/gtx/curseswindows.c @@ -16,6 +16,10 @@ *------------------------------------------------------------------------*/ #define IGNORE_STDS_H #include +#include + +RCSID("$Header$"); + #if defined(AFS_HPUX110_ENV) && !defined(__HP_CURSES) #define __HP_CURSES diff --git a/src/gtx/dumbwindows.c b/src/gtx/dumbwindows.c index 64994322ac..0bd4c18bdd 100644 --- a/src/gtx/dumbwindows.c +++ b/src/gtx/dumbwindows.c @@ -13,6 +13,11 @@ * *------------------------------------------------------------------------*/ +#include +#include + +RCSID("$Header$"); + #include "gtxdumbwin.h" /*Interface definition*/ #include /*Standard I/O package*/ diff --git a/src/gtx/frame.c b/src/gtx/frame.c index 65996e8a75..694b8a17c1 100644 --- a/src/gtx/frame.c +++ b/src/gtx/frame.c @@ -9,6 +9,10 @@ #define IGNORE_STDS_H #include +#include + +RCSID("$Header$"); + #ifdef AFS_HPUX_ENV #include #endif diff --git a/src/gtx/gtxtest.c b/src/gtx/gtxtest.c index 764cf984aa..bd7be6d502 100644 --- a/src/gtx/gtxtest.c +++ b/src/gtx/gtxtest.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include "gtxwindows.h" #include "gtxobjects.h" #include "gtxtextobj.h" diff --git a/src/gtx/input.c b/src/gtx/input.c index 1075fbd86e..330be0dd9c 100644 --- a/src/gtx/input.c +++ b/src/gtx/input.c @@ -9,6 +9,10 @@ #define IGNORE_STDS_H #include +#include + +RCSID("$Header$"); + #ifdef AFS_HPUX_ENV #include #endif diff --git a/src/gtx/keymap.c b/src/gtx/keymap.c index 79d6bca722..0055f30360 100644 --- a/src/gtx/keymap.c +++ b/src/gtx/keymap.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include "gtxkeymap.h" struct keymap_map *keymap_Create() { diff --git a/src/gtx/lightobject.c b/src/gtx/lightobject.c index 4e19e7f7f9..9e3395b9a5 100644 --- a/src/gtx/lightobject.c +++ b/src/gtx/lightobject.c @@ -14,6 +14,10 @@ *------------------------------------------------------------------------*/ #include +#include + +RCSID("$Header$"); + #include "gtxlightobj.h" /*Interface for this module*/ #include /*Standard I/O stuff*/ #include diff --git a/src/gtx/objdict.c b/src/gtx/objdict.c index 4c6965bdfa..d324ef62ae 100644 --- a/src/gtx/objdict.c +++ b/src/gtx/objdict.c @@ -13,6 +13,11 @@ * *------------------------------------------------------------------------*/ +#include +#include + +RCSID("$Header$"); + #include "gtxobjdict.h" /*Interface for this module*/ #include /*Standard I/O package*/ diff --git a/src/gtx/object_test.c b/src/gtx/object_test.c index d0d313bae5..c2011611c5 100644 --- a/src/gtx/object_test.c +++ b/src/gtx/object_test.c @@ -11,6 +11,11 @@ * object_test: A test of the gator object operations. *--------------------------------------------------------------------------------*/ +#include +#include + +RCSID("$Header$"); + #include "gtxscreenobj.h" /*Gator screen object interface*/ #include "gtxtextobj.h" /*Gator text object interface*/ #include "gtxlightobj.h" /*Gator light object interface*/ diff --git a/src/gtx/objects.c b/src/gtx/objects.c index f758204a67..1ab585c0d6 100644 --- a/src/gtx/objects.c +++ b/src/gtx/objects.c @@ -14,6 +14,10 @@ *------------------------------------------------------------------------*/ #include +#include + +RCSID("$Header$"); + #include "gtxobjects.h" /*Interface for this module*/ #include "gtxtextobj.h" /*Text object interface*/ #include "gtxlightobj.h" /*Light object interface*/ diff --git a/src/gtx/screen_test.c b/src/gtx/screen_test.c index ddbf9aee96..af5e5c68a0 100644 --- a/src/gtx/screen_test.c +++ b/src/gtx/screen_test.c @@ -11,6 +11,11 @@ * screen_test: A test of the gator screen operations. *--------------------------------------------------------------------------------*/ +#include +#include + +RCSID("$Header$"); + #include "gtxwindows.h" /*Generalized window interface*/ #include "gtxcurseswin.h" /*Curses window interface*/ #include "gtxdumbwin.h" /*Dumb terminal window interface*/ diff --git a/src/gtx/textcb.c b/src/gtx/textcb.c index 7c47852bd2..b9a0a03c34 100644 --- a/src/gtx/textcb.c +++ b/src/gtx/textcb.c @@ -14,6 +14,10 @@ *------------------------------------------------------------------------*/ #include +#include + +RCSID("$Header$"); + #include "gtxtextcb.h" /*Module interface*/ #include /*Standard I/O stuff*/ #include diff --git a/src/gtx/textobject.c b/src/gtx/textobject.c index 04853991a5..3bbf83a3ee 100644 --- a/src/gtx/textobject.c +++ b/src/gtx/textobject.c @@ -13,6 +13,10 @@ *------------------------------------------------------------------------*/ #define IGNORE_STDS_H #include +#include + +RCSID("$Header$"); + #include "gtxtextobj.h" /*Interface for this module*/ #include "gtxwindows.h" /*Gator window interface*/ #include "gtxcurseswin.h" /*Gator curses window interface*/ diff --git a/src/gtx/windows.c b/src/gtx/windows.c index 282f482b69..cde4b8617c 100644 --- a/src/gtx/windows.c +++ b/src/gtx/windows.c @@ -15,6 +15,11 @@ * *--------------------------------------------------------------------------------*/ +#include +#include + +RCSID("$Header$"); + #include "gtxwindows.h" /*Interface for this module*/ #include "gtxcurseswin.h" /*Interface for the curses module*/ #include "gtxdumbwin.h" /*Interface for the dumb terminal module*/ diff --git a/src/inetd/Makefile b/src/inetd/Makefile index 531847a700..37aea02412 100644 --- a/src/inetd/Makefile +++ b/src/inetd/Makefile @@ -2,7 +2,7 @@ SHELL=/bin/sh COMPONENT=inetd include ../config/Makefile.${SYS_NAME} -INCLUDES = -I${DESTDIR}include +INCLUDES = -I${TOP_SRCDIR}/config -I${DESTDIR}include DEFINES = ${INCLUDES} LIBDIR = ${DESTDIR}lib/ AFSLIBS = ${LIBDIR}afs/libkauth.a ${LIBDIR}libubik.a\ diff --git a/src/inetd/getenv.c b/src/inetd/getenv.c index b8acbf4a77..ef7f1000a2 100644 --- a/src/inetd/getenv.c +++ b/src/inetd/getenv.c @@ -15,11 +15,11 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static char sccsid[] = "@(#)getenv.c 5.5 (Berkeley) 6/27/88"; -#endif /* LIBC_SCCS and not lint */ - #include +#include + +RCSID("$Header$"); + #include /* diff --git a/src/inetd/inetd.c b/src/inetd/inetd.c index abe25fe838..245c61fbb7 100644 --- a/src/inetd/inetd.c +++ b/src/inetd/inetd.c @@ -17,16 +17,6 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#ifndef lint -char copyright[] = -"@(#) Copyright (c) 1983 Regents of the University of California.\n\ - All rights reserved.\n"; -#endif /* not lint */ - -#ifndef lint -static char sccsid[] = "@(#)inetd.c 5.14 (Berkeley) 1/23/89"; -#endif /* not lint */ - /* * Inetd - Internet super-server * @@ -63,6 +53,10 @@ static char sccsid[] = "@(#)inetd.c 5.14 (Berkeley) 1/23/89"; * Comment lines are indicated by a `#' in column 1. */ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_SUN5_ENV diff --git a/src/inetd/setenv.c b/src/inetd/setenv.c index 33aa17b176..2a4d69b42c 100644 --- a/src/inetd/setenv.c +++ b/src/inetd/setenv.c @@ -15,9 +15,10 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static char sccsid[] = "@(#)setenv.c 5.2 (Berkeley) 6/27/88"; -#endif /* LIBC_SCCS and not lint */ +#include +#include + +RCSID("$Header$"); #include #include diff --git a/src/inetd/ta-rauth.c b/src/inetd/ta-rauth.c index 1dd08a7b51..9e4a48086a 100644 --- a/src/inetd/ta-rauth.c +++ b/src/inetd/ta-rauth.c @@ -12,6 +12,10 @@ * token from the local system to the remote system. */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/kauth/Makefile b/src/kauth/Makefile index e839aab5c9..998c9add79 100644 --- a/src/kauth/Makefile +++ b/src/kauth/Makefile @@ -16,7 +16,7 @@ UKERNELDIR = ../libuafs/ COMPILE_ET = ${SRCDIR}bin/compile_et MKDIR_IF_NEEDED=[ -d $$1 ] || mkdir -p $$1 -CFLAGS = ${OPTMZ} -I${SRCDIR}include ${XCFLAGS} +CFLAGS = ${OPTMZ} -I${TOP_SRCDIR}/config -I${SRCDIR}include ${XCFLAGS} LDFLAGS = ${OPTMZ} ${XLDFLAGS} INCLS=${SRCDIR}include/ubik.h \ ${SRCDIR}include/lwp.h \ diff --git a/src/kauth/admin_tools.c b/src/kauth/admin_tools.c index 3571962e16..a3ee06e8a1 100644 --- a/src/kauth/admin_tools.c +++ b/src/kauth/admin_tools.c @@ -13,6 +13,10 @@ update the database, change the server passwords, etc. */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/kauth/authclient.c b/src/kauth/authclient.c index 04d46669c6..1a79eee3a6 100644 --- a/src/kauth/authclient.c +++ b/src/kauth/authclient.c @@ -7,26 +7,18 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -/* - * Revision 2.4 90/10/02 15:47:16 - * Call rxs_Release before losing the security object. - * - * Revision 2.3 90/08/31 16:16:20 - * Move permit_xprt.h. - * - * Revision 2.2 90/08/20 11:14:37 - * Include permit_xprt.h. - * Cleanup; prune log data, line length <= 79. - * Rename cbc_encrypt -> des_cbc_encrypt (etc). - * - * Revision 2.1 90/08/07 19:10:21 - * Start with clean version to sync test and dev trees. - * */ - /* These routines provide a convenient interface to the AuthServer. */ #if defined(UKERNEL) #include "../afs/param.h" +#else +#include +#endif +#include + +RCSID("$Header$"); + +#if defined(UKERNEL) #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" #include "../afs/afs_usrops.h" @@ -44,7 +36,6 @@ #include "../afs/pthread_glock.h" #else /* defined(UKERNEL) */ -#include #include #include #include diff --git a/src/kauth/client.c b/src/kauth/client.c index db91476cce..907286c85c 100644 --- a/src/kauth/client.c +++ b/src/kauth/client.c @@ -9,6 +9,14 @@ #if defined(UKERNEL) #include "../afs/param.h" +#else +#include +#endif +#include + +RCSID("$Header$"); + +#if defined(UKERNEL) #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" #include "../afs/stds.h" @@ -22,7 +30,6 @@ #include "../des/des.h" #else /* defined(UKERNEL) */ -#include #include #include #include diff --git a/src/kauth/decode_ticket.c b/src/kauth/decode_ticket.c index 10ec478c8a..c1417b1aba 100644 --- a/src/kauth/decode_ticket.c +++ b/src/kauth/decode_ticket.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/kauth/kaaux.c b/src/kauth/kaaux.c index 62dbffb224..91e87ac539 100644 --- a/src/kauth/kaaux.c +++ b/src/kauth/kaaux.c @@ -7,24 +7,10 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -/* - * Revision 1.5 89/03/14 13:19:57 - * Rename CBS and BBS to ka_* to avoid collisions with afsint.h. - * - * Revision 1.4 88/12/09 14:35:57 - * Fixed a bug where BBS code didn't check error code which caused - * problems when Ubik retransmitted packets after previous call - * aborted and didn't return output parameters. - * - * Revision 1.3 88/11/18 09:07:47 - * Conversion to Rx. - * - * Revision 1.2 88/09/20 11:38:13 - * Added IBM Copyright - * - * Revision 1.1 88/08/29 12:48:27 - * Initial revision - * */ +#include +#include + +RCSID("$Header$"); #if defined(UKERNEL) #include "../rx/xdr.h" diff --git a/src/kauth/kaauxdb.c b/src/kauth/kaauxdb.c index 80c7b9e5f6..51d8fdd4a4 100644 --- a/src/kauth/kaauxdb.c +++ b/src/kauth/kaauxdb.c @@ -12,6 +12,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/kauth/kadatabase.c b/src/kauth/kadatabase.c index d2c83177e7..29034526fe 100644 --- a/src/kauth/kadatabase.c +++ b/src/kauth/kadatabase.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/kauth/kalocalcell.c b/src/kauth/kalocalcell.c index c0df2e5788..ca872a22c4 100644 --- a/src/kauth/kalocalcell.c +++ b/src/kauth/kalocalcell.c @@ -7,26 +7,16 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -/* - * Revision 1.5 89/02/14 16:32:55 - * Move ka_Init yet again! - * - * Revision 1.4 89/02/14 16:10:58 - * Moved ka_Init here from authclient.c. - * - * Revision 1.3 89/01/11 14:46:35 - * Collection of minor fixes so that afsconf_Open is called with the correct - * CLIENT/SERVER argument. - * - * Revision 1.2 89/01/11 14:16:20 - * Added ka_CellConfig call to specify client or server operation. - * - * Revision 1.1 89/01/11 11:05:08 - * Initial revision - * */ - #if defined(UKERNEL) #include "../afs/param.h" +#else +#include +#endif +#include + +RCSID("$Header$"); + +#if defined(UKERNEL) #include "../afs/pthread_glock.h" #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" @@ -39,7 +29,6 @@ #include "../afs/kautils.h" #include "../afs/afsutil.h" #else /* defined(UKERNEL) */ -#include #include #include #ifdef AFS_NT40_ENV diff --git a/src/kauth/kalog.c b/src/kauth/kalog.c index 9c5d5948fb..89d3ae814d 100644 --- a/src/kauth/kalog.c +++ b/src/kauth/kalog.c @@ -17,6 +17,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #ifndef AFS_NT40_ENV diff --git a/src/kauth/kaprocs.c b/src/kauth/kaprocs.c index 9667a6e0a1..34a356b405 100644 --- a/src/kauth/kaprocs.c +++ b/src/kauth/kaprocs.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include "kauth.h" diff --git a/src/kauth/kas.c b/src/kauth/kas.c index 567072cdd0..3ebd0840ab 100644 --- a/src/kauth/kas.c +++ b/src/kauth/kas.c @@ -9,6 +9,10 @@ /* These two needed for rxgen output to work */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_AIX32_ENV #include diff --git a/src/kauth/kaserver.c b/src/kauth/kaserver.c index f0f96262fd..d35c5b2e87 100644 --- a/src/kauth/kaserver.c +++ b/src/kauth/kaserver.c @@ -7,19 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -/* - * Revision 2.3 1991/12/30 20:36:46 - * #837: Added AuthLog support for the kaserver - * - * Revision 2.2 90/08/29 15:10:50 - * Cleanups. - * Don't create rxvab security object. - * - * Revision 2.1 90/08/07 19:11:30 - * Start with clean version to sync test and dev trees. - * */ - #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_NT40_ENV diff --git a/src/kauth/kautils.c b/src/kauth/kautils.c index 1a2b1bc0e5..38a56e0d6b 100644 --- a/src/kauth/kautils.c +++ b/src/kauth/kautils.c @@ -7,23 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -/* - * Revision 2.4 1990/10/01 10:01:37 - * Include so ntohl is defined properly. - * - * Revision 2.3 90/09/28 16:18:23 - * Cleanups. - * Move KeyIsZero here. - * Add KeyCheckSum function. - * - * Revision 2.2 90/09/19 08:31:04 - * Include afs/param.h. - * - * Revision 2.1 90/08/29 08:37:41 - * Start with clean version to sync test and dev trees. - * */ - #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_NT40_ENV diff --git a/src/kauth/kdb.c b/src/kauth/kdb.c index c24c06dc2c..bcd46ab03f 100644 --- a/src/kauth/kdb.c +++ b/src/kauth/kdb.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/kauth/kkids.c b/src/kauth/kkids.c index bf7509185c..9673840cf2 100644 --- a/src/kauth/kkids.c +++ b/src/kauth/kkids.c @@ -13,6 +13,10 @@ /* These two needed for rxgen output to work */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/kauth/klog.c b/src/kauth/klog.c index 3c417f9a91..da8e4e388f 100644 --- a/src/kauth/klog.c +++ b/src/kauth/klog.c @@ -7,32 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -/* - * Revision 2.6 1991/04/15 10:44:53 - * Initialize "explicit" local variable in false case. - * - * Revision 2.5 90/10/02 15:48:55 - * Change -x parm to CMD_FLAG. - * - * Revision 2.4 90/10/01 11:28:01 - * Cleaups for HC compiler. - * Add the -x option back as a noop for existing programs/scripts. - * - * Revision 2.3 90/09/26 14:19:23 - * Remove support for -x option. This controlled checking the /etc/passwd file. - * We no longer do this under an circumstances. - * - * Revision 2.2 90/08/09 08:41:24 - * Check for lifetimes longer than 30 days and reject them. Otherwise such - * bogus lifetimes make the kaserver think the password is wrong. - * - * Revision 2.1 90/08/07 19:11:58 - * Start with clean version to sync test and dev trees. - * */ -/* See RCS log for older history. */ - - /* These two needed for rxgen output to work */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/kauth/klogin.c b/src/kauth/klogin.c index 95ecbfa261..336abf96ea 100644 --- a/src/kauth/klogin.c +++ b/src/kauth/klogin.c @@ -13,22 +13,16 @@ * specifies the terms and conditions for redistribution. */ -#ifndef lint -char copyright[] = -"@(#) Copyright (c) 1980 Regents of the University of California.\n\ - All rights reserved.\n"; -#endif /* not lint */ - -#ifndef lint -static char sccsid[] = "@(#)login.c 5.15 (Berkeley) 4/12/86"; -#endif /* not lint */ - /* * login [ name ] * login -r hostname (for rlogind) * login -h hostname (for telnetd, etc.) */ #include +#include + +RCSID("$Header$"); + #if !defined(AFS_SUN_ENV) && !defined(AFS_AIX_ENV) && !defined(AFS_HPUX_ENV) && !defined(AFS_SGI_ENV) && !defined(AFS_SUN5_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_DARWIN_ENV) &&!defined(AFS_FBSD_ENV) #include diff --git a/src/kauth/knfs.c b/src/kauth/knfs.c index 046138aba9..f06e6c04f5 100644 --- a/src/kauth/knfs.c +++ b/src/kauth/knfs.c @@ -12,6 +12,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/kauth/kpasswd.c b/src/kauth/kpasswd.c index 96d682db9d..8e1a1d2bd0 100644 --- a/src/kauth/kpasswd.c +++ b/src/kauth/kpasswd.c @@ -9,6 +9,10 @@ /* These two needed for rxgen output to work */ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_AIX32_ENV diff --git a/src/kauth/kpwvalid.c b/src/kauth/kpwvalid.c index 0dcfc12c31..ee59387a06 100644 --- a/src/kauth/kpwvalid.c +++ b/src/kauth/kpwvalid.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/kauth/krb_tf.c b/src/kauth/krb_tf.c index bbac8caace..cbe296b387 100644 --- a/src/kauth/krb_tf.c +++ b/src/kauth/krb_tf.c @@ -45,6 +45,10 @@ but null terminated as you might figure, except for the ticket which is preceded by a 4 byte length. All fields in host order. 890306 */ #include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/kauth/krb_udp.c b/src/kauth/krb_udp.c index eec4a84a5f..8188f6ce0c 100644 --- a/src/kauth/krb_udp.c +++ b/src/kauth/krb_udp.c @@ -13,6 +13,10 @@ level compatibility with the standard Kerberos servers. */ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_NT40_ENV diff --git a/src/kauth/manyklog.c b/src/kauth/manyklog.c index 90d7ec9965..d18b8000a5 100644 --- a/src/kauth/manyklog.c +++ b/src/kauth/manyklog.c @@ -7,31 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -/* - * Revision 2.6 1991/04/15 10:44:53 - * Initialize "explicit" local variable in false case. - * - * Revision 2.5 90/10/02 15:48:55 - * Change -x parm to CMD_FLAG. - * - * Revision 2.4 90/10/01 11:28:01 - * Cleaups for HC compiler. - * Add the -x option back as a noop for existing programs/scripts. - * - * Revision 2.3 90/09/26 14:19:23 - * Remove support for -x option. This controlled checking the /etc/passwd file. - * We no longer do this under an circumstances. - * - * Revision 2.2 90/08/09 08:41:24 - * Check for lifetimes longer than 30 days and reject them. Otherwise such - * bogus lifetimes make the kaserver think the password is wrong. - * - * Revision 2.1 90/08/07 19:11:58 - * Start with clean version to sync test and dev trees. - * */ - - /* These two needed for rxgen output to work */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/kauth/read_passwd.c b/src/kauth/read_passwd.c index 3da916eb4e..f819e430e9 100644 --- a/src/kauth/read_passwd.c +++ b/src/kauth/read_passwd.c @@ -11,6 +11,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include diff --git a/src/kauth/rebuild.c b/src/kauth/rebuild.c index f2857628e4..a0658d4548 100644 --- a/src/kauth/rebuild.c +++ b/src/kauth/rebuild.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_NT40_ENV diff --git a/src/kauth/test/background.c b/src/kauth/test/background.c index e0b40bd231..01b428adc6 100644 --- a/src/kauth/test/background.c +++ b/src/kauth/test/background.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + main (argc, argv) int argc; char *argv[]; diff --git a/src/kauth/test/multiklog.c b/src/kauth/test/multiklog.c index 396281e557..565506b94c 100644 --- a/src/kauth/test/multiklog.c +++ b/src/kauth/test/multiklog.c @@ -15,6 +15,10 @@ /* These two needed for rxgen output to work */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/kauth/test/test_badtix.c b/src/kauth/test/test_badtix.c index a6e3331460..398898e530 100644 --- a/src/kauth/test/test_badtix.c +++ b/src/kauth/test/test_badtix.c @@ -7,59 +7,10 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -/* - * Revision 2.1 1990/08/07 19:12:42 - * Start with clean version to sync test and dev trees. - * - * Revision 1.15 90/02/07 09:51:17 - * Don't depend on GetPassword working, since it no longer is enabled by default. - * - * Revision 1.14 89/12/13 09:53:30 - * Some problems that didn't appear on the RT, which is apparently the only - * place this had actually been compiled before(!). - * Also call ka_CellConfig so that cell names (used by StringToKey) are - * recognized early on. - * Request a tgt with lifetime of 100+ hours, since the default is exactly - * 100 hosts, the ticket's end time should be trucated to this limit. - * This the result determines where we have a new or old server - * interface. - * - * Revision 1.13 89/06/06 10:44:56 - * Actually exit when testing old tickets. - * - * Revision 1.12 89/05/24 16:29:11 - * Major changes to use the fast keys mode to exercise oldKeys and key cache - * - * Revision 1.11 89/03/10 10:25:25 - * Added #include for "kauth.h" instead of relying on implicit reference - * to . - * - * Revision 1.10 89/02/17 12:22:24 - * add hostname adaptability. - * Call setpag and exec shell file of choice. - * - * Revision 1.9 89/02/14 16:07:36 - * Added several tests to detect incomatible changes to StringToKey. - * Call SetPassword with various illegal keys. - * Call des_check_key_parity and des_is_weak_key. - * Call ka_Init with improved interface. - * - * Revision 1.8 89/02/09 10:17:00 - * Flush reference to obsolete kaclient.h. - * - * Revision 1.7 89/02/02 14:52:26 - * Updated copyright. - * Call GetPassword at lookback addr to get password. - * Use ticket w/ no expiration time. - * Require constant key for AuthServer.Admin ("authserv"). - * Test lcstring, ucstring, and strcasecmp. - * - * Revision 1.6 89/01/30 10:21:47 - * Minor cosmetic changes. - * - * Revision 1.5 89/01/30 09:56:24 - * Added copyright notice. - * */ +#include +#include + +RCSID("$Header$"); #include #include diff --git a/src/kauth/test/test_date.c b/src/kauth/test/test_date.c index 45cd6817e6..46e3f93ae3 100644 --- a/src/kauth/test/test_date.c +++ b/src/kauth/test/test_date.c @@ -14,6 +14,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/kauth/test/test_getticket.c b/src/kauth/test/test_getticket.c index 6498d1be1a..b423e641a0 100644 --- a/src/kauth/test/test_getticket.c +++ b/src/kauth/test/test_getticket.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/kauth/test/test_interim_ktc.c b/src/kauth/test/test_interim_ktc.c index 224275b75f..c0f69f0b17 100644 --- a/src/kauth/test/test_interim_ktc.c +++ b/src/kauth/test/test_interim_ktc.c @@ -16,6 +16,10 @@ #include #include #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/kauth/test/test_rxkad_free.c b/src/kauth/test/test_rxkad_free.c index 449138c87a..6da20d8b4d 100644 --- a/src/kauth/test/test_rxkad_free.c +++ b/src/kauth/test/test_rxkad_free.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/kauth/token.c b/src/kauth/token.c index 39b990b986..8c71fd440c 100644 --- a/src/kauth/token.c +++ b/src/kauth/token.c @@ -7,25 +7,20 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -/* - * Revision 2.3 1990/12/13 11:41:57 - * Call ubik_ClientDestroy even on error exit. - * - * Revision 2.2 90/10/02 15:50:09 - * Destroy ubik connections when done. - * Cleanups. - * - * Revision 2.1 90/08/07 19:12:59 - * Start with clean version to sync test and dev trees. - * */ - /* These routines provide an interface to the token cache maintained by the kernel. Principally it handles cache misses by requesting the desired token from the AuthServer. */ - /* These two needed for rxgen output to work */ #if defined(UKERNEL) #include "../afs/param.h" +#else +#include +#endif +#include + +RCSID("$Header$"); + +#if defined(UKERNEL) #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" #include "../afs/stds.h" @@ -38,7 +33,6 @@ #include "../afs/auth.h" #include "../afs/pthread_glock.h" #else /* defined(UKERNEL) */ -#include #include #include #include diff --git a/src/kauth/user.c b/src/kauth/user.c index 23fd0cca93..cc1b9615fe 100644 --- a/src/kauth/user.c +++ b/src/kauth/user.c @@ -12,6 +12,14 @@ #if defined(UKERNEL) #include "../afs/param.h" +#else +#include +#endif +#include + +RCSID("$Header$"); + +#if defined(UKERNEL) #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" #include "../afs/stds.h" @@ -28,7 +36,6 @@ #include "../afs/kautils.h" #include "../afs/afsutil.h" #else /* defined(UKERNEL) */ -#include #include #include #include diff --git a/src/kauth/user_nt.c b/src/kauth/user_nt.c index 4fd2ed45be..3e19e6a06e 100644 --- a/src/kauth/user_nt.c +++ b/src/kauth/user_nt.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include diff --git a/src/libacl/Makefile b/src/libacl/Makefile index 116a66aa03..6656f35b43 100644 --- a/src/libacl/Makefile +++ b/src/libacl/Makefile @@ -9,7 +9,8 @@ SHELL = /bin/sh COMPONENT=libacl include ../config/Makefile.${SYS_NAME} -INCDIRS= -I${DESTDIR}include -I.. -I${BACKDIR}include -I${DESTDIR}include/afs +INCDIRS= -I${TOP_SRCDIR}/config -I${DESTDIR}include -I.. \ + -I${BACKDIR}include -I${DESTDIR}include/afs KERNELDIR = ../libafs/ UKERNELDIR = ../libuafs/ diff --git a/src/libacl/aclprocs.c b/src/libacl/aclprocs.c index de7d0031b4..e3ea166e83 100644 --- a/src/libacl/aclprocs.c +++ b/src/libacl/aclprocs.c @@ -14,6 +14,10 @@ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/libacl/netprocs.c b/src/libacl/netprocs.c index 46e4c39822..ead6dae0f9 100644 --- a/src/libacl/netprocs.c +++ b/src/libacl/netprocs.c @@ -14,6 +14,10 @@ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/libacl/test/acltest.c b/src/libacl/test/acltest.c index 4654780375..537b05ff31 100644 --- a/src/libacl/test/acltest.c +++ b/src/libacl/test/acltest.c @@ -13,6 +13,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/libadmin/adminutil/Makefile b/src/libadmin/adminutil/Makefile index e119dfcb13..14ac506e4f 100644 --- a/src/libadmin/adminutil/Makefile +++ b/src/libadmin/adminutil/Makefile @@ -9,7 +9,7 @@ SHELL = /bin/sh include ../../config/Makefile.${SYS_NAME} CC = ${MT_CC} -CFLAGS = ${OPTMZ} ${DBG} -I${SRCDIR}include ${MT_CFLAGS} +CFLAGS = ${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${SRCDIR}include ${MT_CFLAGS} CCRULE = ${CC} ${CFLAGS} -c $? COMPILE_ET = ${SRCDIR}bin/compile_et RXKAD = ../../rxkad diff --git a/src/libadmin/adminutil/afs_utilAdmin.c b/src/libadmin/adminutil/afs_utilAdmin.c index 73635d9956..22175d0e16 100644 --- a/src/libadmin/adminutil/afs_utilAdmin.c +++ b/src/libadmin/adminutil/afs_utilAdmin.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/libadmin/bos/Makefile b/src/libadmin/bos/Makefile index 9c678e6775..5114af0513 100644 --- a/src/libadmin/bos/Makefile +++ b/src/libadmin/bos/Makefile @@ -9,7 +9,7 @@ SHELL = /bin/sh include ../../config/Makefile.${SYS_NAME} CC = ${MT_CC} -CFLAGS = ${OPTMZ} ${DBG} -I${SRCDIR}include ${MT_CFLAGS} +CFLAGS = ${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${SRCDIR}include ${MT_CFLAGS} CCRULE = ${CC} ${CFLAGS} -c $? BOZO = ../../bozo/ diff --git a/src/libadmin/bos/afs_bosAdmin.c b/src/libadmin/bos/afs_bosAdmin.c index daac36edce..6d8207e10a 100644 --- a/src/libadmin/bos/afs_bosAdmin.c +++ b/src/libadmin/bos/afs_bosAdmin.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include #include #include "afs_bosAdmin.h" diff --git a/src/libadmin/cfg/Makefile b/src/libadmin/cfg/Makefile index c91446dced..54a8021540 100644 --- a/src/libadmin/cfg/Makefile +++ b/src/libadmin/cfg/Makefile @@ -8,7 +8,7 @@ SHELL = /bin/sh include ../../config/Makefile.${SYS_NAME} -CFLAGS = ${OPTMZ} ${DBG} -I${SRCDIR}include ${MT_CFLAGS} +CFLAGS = ${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${SRCDIR}include ${MT_CFLAGS} CCRULE = ${CC} ${CFLAGS} -c $? UBIKOBJS=\ diff --git a/src/libadmin/cfg/cfgclient.c b/src/libadmin/cfg/cfgclient.c index 5ca4bd9968..58405eaf55 100644 --- a/src/libadmin/cfg/cfgclient.c +++ b/src/libadmin/cfg/cfgclient.c @@ -12,6 +12,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include diff --git a/src/libadmin/cfg/cfgdb.c b/src/libadmin/cfg/cfgdb.c index 964ea2994e..c036966018 100644 --- a/src/libadmin/cfg/cfgdb.c +++ b/src/libadmin/cfg/cfgdb.c @@ -12,6 +12,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include diff --git a/src/libadmin/cfg/cfghost.c b/src/libadmin/cfg/cfghost.c index f7d27bc6d4..221db4cfce 100644 --- a/src/libadmin/cfg/cfghost.c +++ b/src/libadmin/cfg/cfghost.c @@ -12,6 +12,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include diff --git a/src/libadmin/cfg/cfginternal.c b/src/libadmin/cfg/cfginternal.c index 31cfa480b0..3528fc4a72 100644 --- a/src/libadmin/cfg/cfginternal.c +++ b/src/libadmin/cfg/cfginternal.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include diff --git a/src/libadmin/cfg/cfgservers.c b/src/libadmin/cfg/cfgservers.c index 1f2beb17d1..0a10c744eb 100644 --- a/src/libadmin/cfg/cfgservers.c +++ b/src/libadmin/cfg/cfgservers.c @@ -16,6 +16,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include diff --git a/src/libadmin/cfg/test/cfgtest.c b/src/libadmin/cfg/test/cfgtest.c index 4b6d54d8b5..928dd03354 100644 --- a/src/libadmin/cfg/test/cfgtest.c +++ b/src/libadmin/cfg/test/cfgtest.c @@ -10,6 +10,10 @@ /* Test driver for configuration functions. */ #include +#include + +RCSID("$Header$"); + #include #include diff --git a/src/libadmin/client/Makefile b/src/libadmin/client/Makefile index 26d49d468d..c512c7cc38 100644 --- a/src/libadmin/client/Makefile +++ b/src/libadmin/client/Makefile @@ -9,7 +9,7 @@ SHELL = /bin/sh include ../../config/Makefile.${SYS_NAME} CC = ${MT_CC} -CFLAGS = ${OPTMZ} ${DBG} -I${SRCDIR}include ${MT_CFLAGS} +CFLAGS = ${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${SRCDIR}include ${MT_CFLAGS} ADMINOBJS = afs_clientAdmin.o diff --git a/src/libadmin/client/afs_clientAdmin.c b/src/libadmin/client/afs_clientAdmin.c index fe19db40a8..1ed1e73d23 100644 --- a/src/libadmin/client/afs_clientAdmin.c +++ b/src/libadmin/client/afs_clientAdmin.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include #include "afs_clientAdmin.h" #include "../adminutil/afs_AdminInternal.h" diff --git a/src/libadmin/kas/Makefile b/src/libadmin/kas/Makefile index d51d92bf2a..c954d2977f 100644 --- a/src/libadmin/kas/Makefile +++ b/src/libadmin/kas/Makefile @@ -9,7 +9,7 @@ SHELL = /bin/sh include ../../config/Makefile.${SYS_NAME} CC = ${MT_CC} -CFLAGS = ${OPTMZ} ${DBG} -I${SRCDIR}include ${MT_CFLAGS} +CFLAGS = ${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${SRCDIR}include ${MT_CFLAGS} CCRULE = ${CC} ${CFLAGS} -c $? KAUTH= ../../kauth/ diff --git a/src/libadmin/kas/afs_kasAdmin.c b/src/libadmin/kas/afs_kasAdmin.c index 81061b1321..76caad9f07 100644 --- a/src/libadmin/kas/afs_kasAdmin.c +++ b/src/libadmin/kas/afs_kasAdmin.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include #include #include "afs_kasAdmin.h" diff --git a/src/libadmin/pts/Makefile b/src/libadmin/pts/Makefile index ba124364b1..07b13764b7 100644 --- a/src/libadmin/pts/Makefile +++ b/src/libadmin/pts/Makefile @@ -9,7 +9,7 @@ SHELL = /bin/sh include ../../config/Makefile.${SYS_NAME} CC = ${MT_CC} -CFLAGS = ${OPTMZ} ${DBG} -I${SRCDIR}include ${MT_CFLAGS} +CFLAGS = ${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${SRCDIR}include ${MT_CFLAGS} CCRULE = ${CC} ${CFLAGS} -c $? PTSERVER = ../../ptserver/ diff --git a/src/libadmin/pts/afs_ptsAdmin.c b/src/libadmin/pts/afs_ptsAdmin.c index 09e040a21c..1b774b467c 100644 --- a/src/libadmin/pts/afs_ptsAdmin.c +++ b/src/libadmin/pts/afs_ptsAdmin.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include #include #include "afs_ptsAdmin.h" diff --git a/src/libadmin/samples/Makefile b/src/libadmin/samples/Makefile index d45aebc3c1..b323eda683 100644 --- a/src/libadmin/samples/Makefile +++ b/src/libadmin/samples/Makefile @@ -8,7 +8,7 @@ include ../../config/Makefile.${SYS_NAME} CC = ${MT_CC} -CFLAGS = ${OPTMZ} ${DBG} -I${SRCDIR}include ${MT_CFLAGS} +CFLAGS = ${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${SRCDIR}include ${MT_CFLAGS} ######################################################################## diff --git a/src/libadmin/samples/cm_client_config.c b/src/libadmin/samples/cm_client_config.c index 80e94fa6e1..ef06a19f65 100644 --- a/src/libadmin/samples/cm_client_config.c +++ b/src/libadmin/samples/cm_client_config.c @@ -11,6 +11,11 @@ * This file contains sample code for the client admin interface */ +#include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/libadmin/samples/cm_list_cells.c b/src/libadmin/samples/cm_list_cells.c index 49fc0a5975..09877f9d22 100644 --- a/src/libadmin/samples/cm_list_cells.c +++ b/src/libadmin/samples/cm_list_cells.c @@ -11,6 +11,11 @@ * This file contains sample code for the client admin interface */ +#include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/libadmin/samples/cm_local_cell.c b/src/libadmin/samples/cm_local_cell.c index aff8cfd2d5..7926e84df8 100644 --- a/src/libadmin/samples/cm_local_cell.c +++ b/src/libadmin/samples/cm_local_cell.c @@ -11,6 +11,11 @@ * This file contains sample code for the client admin interface */ +#include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/libadmin/samples/cm_server_prefs.c b/src/libadmin/samples/cm_server_prefs.c index a898a84d5a..4a34affcb6 100644 --- a/src/libadmin/samples/cm_server_prefs.c +++ b/src/libadmin/samples/cm_server_prefs.c @@ -11,6 +11,11 @@ * This file contains sample code for the client admin interface */ +#include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/libadmin/samples/rxdebug_basic_stats.c b/src/libadmin/samples/rxdebug_basic_stats.c index 5895d4a0e1..9525565261 100644 --- a/src/libadmin/samples/rxdebug_basic_stats.c +++ b/src/libadmin/samples/rxdebug_basic_stats.c @@ -11,6 +11,11 @@ * This file contains sample code for the rxstats interface */ +#include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/libadmin/samples/rxdebug_conns.c b/src/libadmin/samples/rxdebug_conns.c index 98b63cfd6f..f4974256f5 100644 --- a/src/libadmin/samples/rxdebug_conns.c +++ b/src/libadmin/samples/rxdebug_conns.c @@ -11,6 +11,11 @@ * This file contains sample code for the rxstats interface */ +#include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/libadmin/samples/rxdebug_peers.c b/src/libadmin/samples/rxdebug_peers.c index 27ae72c854..46599382a3 100644 --- a/src/libadmin/samples/rxdebug_peers.c +++ b/src/libadmin/samples/rxdebug_peers.c @@ -11,6 +11,11 @@ * This file contains sample code for the rxstats interface */ +#include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/libadmin/samples/rxdebug_rx_stats.c b/src/libadmin/samples/rxdebug_rx_stats.c index 15f7466ce5..e4f227fec0 100644 --- a/src/libadmin/samples/rxdebug_rx_stats.c +++ b/src/libadmin/samples/rxdebug_rx_stats.c @@ -11,6 +11,11 @@ * This file contains sample code for the rxstats interface */ +#include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/libadmin/samples/rxdebug_supported_stats.c b/src/libadmin/samples/rxdebug_supported_stats.c index b90304d71f..6671c9601e 100644 --- a/src/libadmin/samples/rxdebug_supported_stats.c +++ b/src/libadmin/samples/rxdebug_supported_stats.c @@ -11,6 +11,11 @@ * This file contains sample code for the rxstats interface */ +#include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/libadmin/samples/rxdebug_version.c b/src/libadmin/samples/rxdebug_version.c index a1ba920488..977200fdce 100644 --- a/src/libadmin/samples/rxdebug_version.c +++ b/src/libadmin/samples/rxdebug_version.c @@ -11,6 +11,11 @@ * This file contains sample code for the rxstats interface */ +#include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/libadmin/samples/rxstat_clear_peer.c b/src/libadmin/samples/rxstat_clear_peer.c index 41b5532434..b9ffe99481 100644 --- a/src/libadmin/samples/rxstat_clear_peer.c +++ b/src/libadmin/samples/rxstat_clear_peer.c @@ -11,6 +11,11 @@ * This file contains sample code for the rxstats interface */ +#include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/libadmin/samples/rxstat_clear_process.c b/src/libadmin/samples/rxstat_clear_process.c index 093463d9c7..89610c1da3 100644 --- a/src/libadmin/samples/rxstat_clear_process.c +++ b/src/libadmin/samples/rxstat_clear_process.c @@ -11,6 +11,11 @@ * This file contains sample code for the rxstats interface */ +#include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/libadmin/samples/rxstat_disable_peer.c b/src/libadmin/samples/rxstat_disable_peer.c index bf65150b4b..e614d01145 100644 --- a/src/libadmin/samples/rxstat_disable_peer.c +++ b/src/libadmin/samples/rxstat_disable_peer.c @@ -11,6 +11,11 @@ * This file contains sample code for the rxstats interface */ +#include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/libadmin/samples/rxstat_disable_process.c b/src/libadmin/samples/rxstat_disable_process.c index bd13de0e36..31004aba34 100644 --- a/src/libadmin/samples/rxstat_disable_process.c +++ b/src/libadmin/samples/rxstat_disable_process.c @@ -11,6 +11,11 @@ * This file contains sample code for the rxstats interface */ +#include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/libadmin/samples/rxstat_enable_peer.c b/src/libadmin/samples/rxstat_enable_peer.c index b4cc038c27..2d9c4e3879 100644 --- a/src/libadmin/samples/rxstat_enable_peer.c +++ b/src/libadmin/samples/rxstat_enable_peer.c @@ -11,6 +11,11 @@ * This file contains sample code for the rxstats interface */ +#include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/libadmin/samples/rxstat_enable_process.c b/src/libadmin/samples/rxstat_enable_process.c index 3c58c1b04e..c66cce7815 100644 --- a/src/libadmin/samples/rxstat_enable_process.c +++ b/src/libadmin/samples/rxstat_enable_process.c @@ -11,6 +11,11 @@ * This file contains sample code for the rxstats interface */ +#include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/libadmin/samples/rxstat_get_peer.c b/src/libadmin/samples/rxstat_get_peer.c index cf1618247c..f5bac43e1d 100644 --- a/src/libadmin/samples/rxstat_get_peer.c +++ b/src/libadmin/samples/rxstat_get_peer.c @@ -11,6 +11,11 @@ * This file contains sample code for the rxstats interface */ +#include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/libadmin/samples/rxstat_get_process.c b/src/libadmin/samples/rxstat_get_process.c index 7fd5a2a588..666887611b 100644 --- a/src/libadmin/samples/rxstat_get_process.c +++ b/src/libadmin/samples/rxstat_get_process.c @@ -11,6 +11,11 @@ * This file contains sample code for the rxstats interface */ +#include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/libadmin/samples/rxstat_get_version.c b/src/libadmin/samples/rxstat_get_version.c index 9a53805368..8deb1278dd 100644 --- a/src/libadmin/samples/rxstat_get_version.c +++ b/src/libadmin/samples/rxstat_get_version.c @@ -11,6 +11,11 @@ * This file contains sample code for the rxstats interface */ +#include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/libadmin/samples/rxstat_query_peer.c b/src/libadmin/samples/rxstat_query_peer.c index e06f0036bb..89b2c2aa2d 100644 --- a/src/libadmin/samples/rxstat_query_peer.c +++ b/src/libadmin/samples/rxstat_query_peer.c @@ -11,6 +11,11 @@ * This file contains sample code for the rxstats interface */ +#include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/libadmin/samples/rxstat_query_process.c b/src/libadmin/samples/rxstat_query_process.c index d2ea4fdba3..596dffd184 100644 --- a/src/libadmin/samples/rxstat_query_process.c +++ b/src/libadmin/samples/rxstat_query_process.c @@ -11,6 +11,11 @@ * This file contains sample code for the rxstats interface */ +#include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/libadmin/test/Makefile b/src/libadmin/test/Makefile index e0ef0fbc8b..cab8766adb 100644 --- a/src/libadmin/test/Makefile +++ b/src/libadmin/test/Makefile @@ -8,7 +8,7 @@ include ../../config/Makefile.${SYS_NAME} CC = ${MT_CC} -CFLAGS = ${OPTMZ} ${DBG} -I${SRCDIR}include ${MT_CFLAGS} +CFLAGS = ${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${SRCDIR}include ${MT_CFLAGS} ######################################################################## diff --git a/src/libadmin/test/afscp.c b/src/libadmin/test/afscp.c index 67cec4c9f9..e4a3e2c807 100644 --- a/src/libadmin/test/afscp.c +++ b/src/libadmin/test/afscp.c @@ -10,6 +10,10 @@ /* Test driver for admin functions. */ #include +#include + +RCSID("$Header$"); + #include #include diff --git a/src/libadmin/test/bos.c b/src/libadmin/test/bos.c index 1cd286e8d1..fc1d4ffc7a 100644 --- a/src/libadmin/test/bos.c +++ b/src/libadmin/test/bos.c @@ -11,6 +11,11 @@ * This file implements the bos related funtions for afscp */ +#include +#include + +RCSID("$Header$"); + #include "bos.h" /* diff --git a/src/libadmin/test/bos.h b/src/libadmin/test/bos.h index a9729f6743..1f96a8d976 100644 --- a/src/libadmin/test/bos.h +++ b/src/libadmin/test/bos.h @@ -11,7 +11,6 @@ * This file implements the bos related funtions for afscp */ -#include #include #include diff --git a/src/libadmin/test/client.c b/src/libadmin/test/client.c index 45713ddbf5..256c87d323 100644 --- a/src/libadmin/test/client.c +++ b/src/libadmin/test/client.c @@ -11,6 +11,11 @@ * This file implements the client related funtions for afscp */ +#include +#include + +RCSID("$Header$"); + #include "client.h" #include #include diff --git a/src/libadmin/test/client.h b/src/libadmin/test/client.h index 18dee7051a..6fec7a8fb9 100644 --- a/src/libadmin/test/client.h +++ b/src/libadmin/test/client.h @@ -11,7 +11,6 @@ * This file implements the client related funtions for afscp */ -#include #include #include diff --git a/src/libadmin/test/kas.c b/src/libadmin/test/kas.c index 56357618e6..ffc0954ae5 100644 --- a/src/libadmin/test/kas.c +++ b/src/libadmin/test/kas.c @@ -11,6 +11,11 @@ * This file implements the kas related funtions for afscp */ +#include +#include + +RCSID("$Header$"); + #include "kas.h" #include @@ -216,7 +221,7 @@ DoKasPrincipalList(struct cmd_syndesc *as, char *arock) int DoKasPrincipalKeySet(struct cmd_syndesc *as, char *arock) { - typedef enum {PRINCIPAL, INSTANCE, PASSWORD, VERSION} + typedef enum {PRINCIPAL, INSTANCE, PASSWORD, KEYVERSION} DoKasPrincipalKeySet_parm_t; afs_status_t st = 0; kas_encryptionKey_t key; @@ -238,7 +243,7 @@ DoKasPrincipalKeySet(struct cmd_syndesc *as, char *arock) } password = as->parms[PASSWORD].items->data; - key_version = GetIntFromString(as->parms[VERSION].items->data, + key_version = GetIntFromString(as->parms[KEYVERSION].items->data, "invalid key version number"); if (!kas_StringToKey(cell, password, &key, &st)) { ERR_ST_EXT("kas_StringToKey", st); diff --git a/src/libadmin/test/kas.h b/src/libadmin/test/kas.h index b790fa4b6a..d3dfb01d2f 100644 --- a/src/libadmin/test/kas.h +++ b/src/libadmin/test/kas.h @@ -11,7 +11,6 @@ * This file implements the kas related funtions for afscp */ -#include #include #include diff --git a/src/libadmin/test/pts.c b/src/libadmin/test/pts.c index 2b3b01cf4a..5e1df5b104 100644 --- a/src/libadmin/test/pts.c +++ b/src/libadmin/test/pts.c @@ -11,6 +11,11 @@ * This file implements the pts related funtions for afscp */ +#include +#include + +RCSID("$Header$"); + #include "pts.h" /* diff --git a/src/libadmin/test/pts.h b/src/libadmin/test/pts.h index eb5695333f..5a63285f35 100644 --- a/src/libadmin/test/pts.h +++ b/src/libadmin/test/pts.h @@ -11,7 +11,6 @@ * This file implements the pts related funtions for afscp */ -#include #include #include diff --git a/src/libadmin/test/util.c b/src/libadmin/test/util.c index b2031b3c65..4780d31695 100644 --- a/src/libadmin/test/util.c +++ b/src/libadmin/test/util.c @@ -11,6 +11,11 @@ * This file implements the util related funtions for afscp */ +#include +#include + +RCSID("$Header$"); + #include "util.h" int diff --git a/src/libadmin/test/util.h b/src/libadmin/test/util.h index d5e531bc64..fcc28c0c19 100644 --- a/src/libadmin/test/util.h +++ b/src/libadmin/test/util.h @@ -11,7 +11,6 @@ * This file implements the bos related funtions for afscp */ -#include #include #include diff --git a/src/libadmin/test/vos.c b/src/libadmin/test/vos.c index 67a2cf58ce..acfa231522 100644 --- a/src/libadmin/test/vos.c +++ b/src/libadmin/test/vos.c @@ -11,6 +11,11 @@ * This file implements the vos related funtions for afscp */ +#include +#include + +RCSID("$Header$"); + #include "vos.h" /* diff --git a/src/libadmin/test/vos.h b/src/libadmin/test/vos.h index c01cffa6ce..4a1d528c6f 100644 --- a/src/libadmin/test/vos.h +++ b/src/libadmin/test/vos.h @@ -11,7 +11,6 @@ * This file implements the bos related funtions for afscp */ -#include #include #include diff --git a/src/libadmin/vos/afs_vosAdmin.c b/src/libadmin/vos/afs_vosAdmin.c index 3256a951f1..db28ec7a81 100644 --- a/src/libadmin/vos/afs_vosAdmin.c +++ b/src/libadmin/vos/afs_vosAdmin.c @@ -9,6 +9,9 @@ #include #include + +RCSID("$Header$"); + #include #include #ifdef HAVE_STRINGS_H diff --git a/src/libadmin/vos/lockprocs.c b/src/libadmin/vos/lockprocs.c index 1473c6ab8a..af761f1770 100644 --- a/src/libadmin/vos/lockprocs.c +++ b/src/libadmin/vos/lockprocs.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include "lockprocs.h" #ifdef HAVE_STRINGS_H #include diff --git a/src/libadmin/vos/lockprocs.h b/src/libadmin/vos/lockprocs.h index e60137db75..e63c7ce8a1 100644 --- a/src/libadmin/vos/lockprocs.h +++ b/src/libadmin/vos/lockprocs.h @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#include -#include #include #ifdef AFS_NT40_ENV #include diff --git a/src/libadmin/vos/vosutils.c b/src/libadmin/vos/vosutils.c index de907518c7..12c80c2683 100644 --- a/src/libadmin/vos/vosutils.c +++ b/src/libadmin/vos/vosutils.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include "vosutils.h" #include "vsprocs.h" #include "lockprocs.h" diff --git a/src/libadmin/vos/vosutils.h b/src/libadmin/vos/vosutils.h index 7700a5fc37..11f52238d5 100644 --- a/src/libadmin/vos/vosutils.h +++ b/src/libadmin/vos/vosutils.h @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#include -#include #include #include #include diff --git a/src/libadmin/vos/vsprocs.c b/src/libadmin/vos/vsprocs.c index fccdf8681b..5cc252fa80 100644 --- a/src/libadmin/vos/vsprocs.c +++ b/src/libadmin/vos/vsprocs.c @@ -18,6 +18,11 @@ * eliminate the practice of reporting errors to STDOUT. */ +#include +#include + +RCSID("$Header$"); + #include "vsprocs.h" #include "vosutils.h" #include "lockprocs.h" diff --git a/src/libadmin/vos/vsprocs.h b/src/libadmin/vos/vsprocs.h index 8553f3fd99..7d168f2205 100644 --- a/src/libadmin/vos/vsprocs.h +++ b/src/libadmin/vos/vsprocs.h @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#include -#include #include #include #include diff --git a/src/libuafs/Makefile.common b/src/libuafs/Makefile.common index d2e6608a3d..8dc837c20b 100644 --- a/src/libuafs/Makefile.common +++ b/src/libuafs/Makefile.common @@ -42,7 +42,7 @@ ukinstlibs: ukinstall: ukinsthdrs UAFS/$(LIBUAFS) linktest ukinstlibs linktest: UAFS/$(LIBUAFS) des/libdes.a - $(CC) $(TEST_CFLAGS) $(TEST_LDFLAGS) -o linktest linktest.c -I${DESTDIR}include -I${DESTDIR}include/rx -I${DESTDIR}root.perf/include UAFS/$(LIBUAFS) des/libdes.a $(TEST_LIBS) $(XLIBS) + $(CC) $(TEST_CFLAGS) $(TEST_LDFLAGS) -o linktest linktest.c -I${TOP_SRCDIR}/config -I${DESTDIR}include -I${DESTDIR}include/rx -I${DESTDIR}root.perf/include UAFS/$(LIBUAFS) des/libdes.a $(TEST_LIBS) $(XLIBS) CRULE1= $(CC) $(OPTF) -DKERNEL $(CFLAGS) -c $? CRULE2= $(CC) $(OPTF) $(WEBOPTS) -DKERNEL $(CFLAGS) -c $? diff --git a/src/libuafs/linktest.c b/src/libuafs/linktest.c index 2139f6d7a8..a06ecbe5f5 100644 --- a/src/libuafs/linktest.c +++ b/src/libuafs/linktest.c @@ -12,6 +12,11 @@ * test whether a program can link with libuafs.a. */ +#include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/log/Makefile b/src/log/Makefile index 7db954abf3..270c142a0d 100644 --- a/src/log/Makefile +++ b/src/log/Makefile @@ -8,7 +8,7 @@ COMPONENT=log include ../config/Makefile.${SYS_NAME} -INCDIRS= -I${DESTDIR}include -I${DESTDIR}include/afs +INCDIRS= -I${TOP_SRCDIR}/config -I${DESTDIR}include -I${DESTDIR}include/afs utilib=${DESTDIR}lib/afs/util.a CFLAGS = ${OPTMZ} ${INCDIRS} ${XCFLAGS} ${DBUG} diff --git a/src/log/kseal.c b/src/log/kseal.c index d4adb60614..8a68649c82 100644 --- a/src/log/kseal.c +++ b/src/log/kseal.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_AIX32_ENV diff --git a/src/log/test/gettoktest.c b/src/log/test/gettoktest.c index 5271d8e4f1..1fc864bcea 100644 --- a/src/log/test/gettoktest.c +++ b/src/log/test/gettoktest.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/log/test/testlog.c b/src/log/test/testlog.c index 7c4180a2c1..2b237324b8 100644 --- a/src/log/test/testlog.c +++ b/src/log/test/testlog.c @@ -20,6 +20,11 @@ This implies -x, unless the given cellname matches our local one. */ +#include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/log/tokens.c b/src/log/tokens.c index cb4d699cc4..6d47c066c5 100644 --- a/src/log/tokens.c +++ b/src/log/tokens.c @@ -7,9 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_AIX32_ENV #include diff --git a/src/log/unlog.c b/src/log/unlog.c index fd7676d11d..8da6b0a7ba 100644 --- a/src/log/unlog.c +++ b/src/log/unlog.c @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif /* unlog -- Tell the Andrew Cache Manager to either clean up your connection completely or eliminate the caller's PAG. @@ -29,6 +27,10 @@ #define VICE 1 #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_AIX32_ENV diff --git a/src/login/getenv.c b/src/login/getenv.c index deaa7827c4..a4c5db72ff 100644 --- a/src/login/getenv.c +++ b/src/login/getenv.c @@ -15,11 +15,11 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static char sccsid[] = "@(#)getenv.c 5.5 (Berkeley) 6/27/88"; -#endif /* LIBC_SCCS and not lint */ - #include +#include + +RCSID("$Header$"); + #include /* diff --git a/src/login/login.c b/src/login/login.c index 52905245cf..d704e243b9 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -26,12 +26,6 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#ifndef lint -char copyright[] = -"@(#) Copyright (c) 1980, 1987, 1988 The Regents of the University of California.\n\ - All rights reserved.\n"; -#endif /* not lint */ - /* * login [ name ] * login -h hostname (for telnetd, etc.) @@ -43,6 +37,10 @@ char copyright[] = #endif #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/login/setenv.c b/src/login/setenv.c index 502d783dd1..6f7bd4a429 100644 --- a/src/login/setenv.c +++ b/src/login/setenv.c @@ -15,9 +15,10 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static char sccsid[] = "@(#)setenv.c 5.2 (Berkeley) 6/27/88"; -#endif /* LIBC_SCCS and not lint */ +#include +#include + +RCSID("$Header$"); #include #include diff --git a/src/login/util_login.c b/src/login/util_login.c index 301099c3d4..fd3730285d 100644 --- a/src/login/util_login.c +++ b/src/login/util_login.c @@ -15,9 +15,10 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static char sccsid[] = "@(#)login.c 5.1 (Berkeley) 9/27/88"; -#endif /* LIBC_SCCS and not lint */ +#include +#include + +RCSID("$Header$"); #include #include @@ -29,8 +30,6 @@ static char sccsid[] = "@(#)login.c 5.1 (Berkeley) 9/27/88"; #define L_SET SEEK_SET #endif -#include - #ifdef AFS_SUN5_ENV #include #endif diff --git a/src/login/util_logout.c b/src/login/util_logout.c index 7a0eb4986c..48212efb5d 100644 --- a/src/login/util_logout.c +++ b/src/login/util_logout.c @@ -15,11 +15,11 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static char sccsid[] = "@(#)logout.c 5.2 (Berkeley) 2/17/89"; -#endif /* LIBC_SCCS and not lint */ - #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_SUN5_ENV diff --git a/src/login/util_logwtmp.c b/src/login/util_logwtmp.c index 648e7071b0..26931c626d 100644 --- a/src/login/util_logwtmp.c +++ b/src/login/util_logwtmp.c @@ -15,11 +15,11 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static char sccsid[] = "@(#)logwtmp.c 5.2 (Berkeley) 9/20/88"; -#endif /* LIBC_SCCS and not lint */ - #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/lwp/fasttime.c b/src/lwp/fasttime.c index c67d20d771..979df9aa1c 100644 --- a/src/lwp/fasttime.c +++ b/src/lwp/fasttime.c @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif /* * fasttime.c -- Get the time of day quickly by mapping the kernel's * time of day variable. @@ -26,6 +24,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_NT40_ENV diff --git a/src/lwp/iomgr.c b/src/lwp/iomgr.c index 8f5beba46f..e55d7ba35b 100644 --- a/src/lwp/iomgr.c +++ b/src/lwp/iomgr.c @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif /*******************************************************************\ * * * Information Technology Center * @@ -24,6 +22,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/lwp/lock.c b/src/lwp/lock.c index 8ae41ccd86..b9af5b1e8e 100644 --- a/src/lwp/lock.c +++ b/src/lwp/lock.c @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif /*******************************************************************\ * * * Information Technology Center * @@ -25,6 +23,10 @@ */ #include +#include + +RCSID("$Header$"); + #ifdef AFS_PTHREAD_ENV #include #else /* AFS_PTHREAD_ENV */ diff --git a/src/lwp/lock.h b/src/lwp/lock.h index 7aff635c73..033da8fc17 100644 --- a/src/lwp/lock.h +++ b/src/lwp/lock.h @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS) -#endif /*******************************************************************\ * * * Information Technology Center * diff --git a/src/lwp/lwp.c b/src/lwp/lwp.c index 853f5625d5..d9a94568c8 100644 --- a/src/lwp/lwp.c +++ b/src/lwp/lwp.c @@ -14,6 +14,11 @@ * * \*******************************************************************/ +#include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/lwp/lwp.h b/src/lwp/lwp.h index fcb096f574..8859ffafdb 100644 --- a/src/lwp/lwp.h +++ b/src/lwp/lwp.h @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS) -#endif /*******************************************************************\ * * * Information Technology Center * diff --git a/src/lwp/lwp_nt.c b/src/lwp/lwp_nt.c index 531d5f9b84..1b48cf5524 100644 --- a/src/lwp/lwp_nt.c +++ b/src/lwp/lwp_nt.c @@ -17,6 +17,10 @@ */ #include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/lwp/preempt.c b/src/lwp/preempt.c index 2be09ebd3c..75d7d18d62 100644 --- a/src/lwp/preempt.c +++ b/src/lwp/preempt.c @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif /*******************************************************************\ * * * Information Technology Center * @@ -16,6 +14,10 @@ * * \*******************************************************************/ #include +#include + +RCSID("$Header$"); + #if defined(AFS_LINUX20_ENV) || defined(AFS_DARWIN_ENV) || defined(AFS_FBSD_ENV) || defined(AFS_DJGPP_ENV) int PRE_Block = 0; diff --git a/src/lwp/preempt.h b/src/lwp/preempt.h index e7e147fcb3..e4fe79c48f 100644 --- a/src/lwp/preempt.h +++ b/src/lwp/preempt.h @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS) -#endif /*******************************************************************\ * * * Information Technology Center * diff --git a/src/lwp/process.c b/src/lwp/process.c index 897cff70a2..bf30be5a49 100644 --- a/src/lwp/process.c +++ b/src/lwp/process.c @@ -9,10 +9,14 @@ /* process.c - manage lwp context switches be means of setjmp/longjmp. */ +#include +#include + +RCSID("$Header$"); + #include #include #include "lwp.h" -#include #ifdef HAVE_STDLIB_H #include #endif diff --git a/src/lwp/rw.c b/src/lwp/rw.c index 5232360b5a..933752f34e 100644 --- a/src/lwp/rw.c +++ b/src/lwp/rw.c @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif /* (Multiple) readers & writers test of LWP stuff. @@ -17,6 +15,10 @@ Created: 11/1/83, J. Rosenberg */ #include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/lwp/test/selclient.c b/src/lwp/test/selclient.c index 334e6628c6..baae4aa8f1 100644 --- a/src/lwp/test/selclient.c +++ b/src/lwp/test/selclient.c @@ -51,6 +51,10 @@ #include #include +#include + +RCSID("$Header$"); + #include "../lwp.h" #include "seltest.h" diff --git a/src/lwp/test/selserver.c b/src/lwp/test/selserver.c index a836111bff..72ba6d2ac3 100644 --- a/src/lwp/test/selserver.c +++ b/src/lwp/test/selserver.c @@ -52,6 +52,10 @@ #include #include +#include + +RCSID("$Header$"); + #include "../lwp.h" #include "seltest.h" diff --git a/src/lwp/test/selsubs.c b/src/lwp/test/selsubs.c index c2d8bc560e..f0d03c2703 100644 --- a/src/lwp/test/selsubs.c +++ b/src/lwp/test/selsubs.c @@ -26,6 +26,10 @@ #include #include +#include + +RCSID("$Header$"); + #include "../lwp.h" #include "seltest.h" diff --git a/src/lwp/test/test.c b/src/lwp/test/test.c index 0380127a2e..32edce122d 100644 --- a/src/lwp/test/test.c +++ b/src/lwp/test/test.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/lwp/test/test_key.c b/src/lwp/test/test_key.c index f468364550..cc3871dbb8 100644 --- a/src/lwp/test/test_key.c +++ b/src/lwp/test/test_key.c @@ -18,6 +18,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_NT40_ENV diff --git a/src/lwp/test/testlwp.c b/src/lwp/test/testlwp.c index b2fffe271d..14c0221be6 100644 --- a/src/lwp/test/testlwp.c +++ b/src/lwp/test/testlwp.c @@ -17,6 +17,11 @@ /* allocate externs here */ +#include +#include + +RCSID("$Header$"); + #define LWP_KERNEL #include "lwp.h" diff --git a/src/lwp/test/testtime.c b/src/lwp/test/testtime.c index c3e71aa6b7..8619fc6c55 100644 --- a/src/lwp/test/testtime.c +++ b/src/lwp/test/testtime.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include main() { diff --git a/src/lwp/threadname.c b/src/lwp/threadname.c index c9df424f40..cfd26b6495 100644 --- a/src/lwp/threadname.c +++ b/src/lwp/threadname.c @@ -21,6 +21,9 @@ #include #include + +RCSID("$Header$"); + #ifdef HAVE_STRINGS_H #include #else diff --git a/src/lwp/timer.c b/src/lwp/timer.c index 59b448ee14..1f58fcc4cd 100644 --- a/src/lwp/timer.c +++ b/src/lwp/timer.c @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif /*******************************************************************\ * * * * @@ -21,6 +19,10 @@ #include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #else diff --git a/src/lwp/timer.h b/src/lwp/timer.h index 78ec63c3eb..50d560dc08 100644 --- a/src/lwp/timer.h +++ b/src/lwp/timer.h @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS) -#endif /*******************************************************************\ * * * Information Technology Center * diff --git a/src/lwp/waitkey.c b/src/lwp/waitkey.c index e599d963e3..99e58e882a 100644 --- a/src/lwp/waitkey.c +++ b/src/lwp/waitkey.c @@ -20,6 +20,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_NT40_ENV diff --git a/src/ntp/Makefile b/src/ntp/Makefile index 93fd206ef9..b50463dbfe 100644 --- a/src/ntp/Makefile +++ b/src/ntp/Makefile @@ -9,7 +9,7 @@ SHELL = /bin/sh COMPONENT=ntp include ../config/Makefile.${SYS_NAME} -INCPATH= -I${DESTDIR}include +INCPATH= -I${TOP_SRCDIR}/config -I${DESTDIR}include BINDIR=/usr/local/etc LINKDIR=/etc LIBS= ${DESTDIR}lib/afs/util.a diff --git a/src/ntp/mkntpconf.c b/src/ntp/mkntpconf.c index 68b50974f7..632833e6da 100644 --- a/src/ntp/mkntpconf.c +++ b/src/ntp/mkntpconf.c @@ -7,26 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif -/* - * $Revision$ - * $Date$ - * $State$ - * $Locker$ - **************************************************************** - * Revision 1.3 89/12/22 20:29:14 - * hp/ux specific (initial port to it); Added and special include files for HPUX - * - * Revision 1.2 88/11/11 16:03:44 - * New/improved primary servers. - * - * Revision 1.1 88/08/15 22:21:44 - * Initial revision - * - */ - #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/ntp/ntp.c b/src/ntp/ntp.c index 4189ce1bd4..82ca84e35c 100644 --- a/src/ntp/ntp.c +++ b/src/ntp/ntp.c @@ -7,83 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif /* lint */ -/* - * Revision 2.1 90/08/07 19:22:00 - * Start with clean version to sync test and dev trees. - * - * Revision 1.9 90/06/20 20:10:20 - * dropped an `#endif' when I merged. - * - * Revision 1.8 90/06/13 20:04:39 - * rs_aix31. - * - * Revision 1.7 89/12/22 20:29:41 - * hp/ux specific (initial port to it); Added and special include files for HPUX and misc other changes - * - * Revision 1.6 89/12/11 14:25:09 - * Added code to support AIX 2.2.1. - * - * Revision 1.5 89/05/24 12:24:59 - * Latest May 18, Version 4.3 release from UMD. - * - * Revision 3.4.1.6 89/05/18 18:21:29 - * A few cosmetic changes in ntp.c for the case when udp/ntp is not in the - * /etc/services file. - * - * Revision 3.4.1.5 89/05/03 15:09:53 - * Fix minor problem in ntp.c to get sin_family set in the proper place. - * - * Revision 3.4.1.4 89/04/07 18:04:49 - * Removed unused variables from ntp.c program. - * - * Revision 3.4.1.3 89/03/22 18:29:22 - * patch3: Use new RCS headers. - * - * Revision 3.4.1.2 89/03/22 17:51:13 - * Use a connect UDP socket so we can pick up ICMP error messages. - * - * Revision 3.4.1.1 89/03/20 00:02:32 - * patch1: Shorten timeout interval and clean up timeout message. - * - * Revision 3.4 89/03/17 18:36:54 - * Latest test release. - * - * Revision 3.3.1.1 89/03/17 18:23:14 - * Fix code that sets time. - * - * Revision 3.3 89/03/15 14:19:30 - * New baseline for next release. - * - * Revision 3.2.1.2 89/03/15 13:45:13 - * Fix use of NTP_PORT when getservbyname() fails. Use "%f" in printf format - * strings rather than "%lf". - * - * - * Revision 3.2.1.1 89/03/10 11:26:23 - * Add (primitive) facility to set the time from an NTP timer server, - * much the same way as various UDP/TIME based programs do. The - * default output format is a one line listing of delay, offset and time. The - * previous, longer format can be had by using the -v option. - * - * Revision 3.2 89/03/07 18:20:55 - * Cleaned up displays of NTP header fields, also dumping in useful formats - * (floating point and ctime strings) as well as hex fields. - * - * Revision 3.1.1.1 89/02/15 08:53:30 - * Bug fixes to last released version. - * - * - * Revision 3.1 89/01/30 14:43:05 - * Second UNIX NTP test release. - * - * Revision 3.0 88/12/12 15:56:10 - * Test release of new UNIX NTP software. This version should conform to the - * revised NTP protocol specification. - * - */ - /* * This program expects a list of host names. It will send off a * network time protocol packet and print out the replies on the @@ -107,6 +30,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_AIX32_ENV #include diff --git a/src/ntp/ntp.h b/src/ntp/ntp.h index 6b70dbbeff..72fbf110ea 100644 --- a/src/ntp/ntp.h +++ b/src/ntp/ntp.h @@ -7,98 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -/* - * Revision 2.3 90/09/20 13:14:18 - * Open aperture for AIX3.1 to 512 msec, since settimeofday doesn't get - * it very close. - * On both AIX systems use "signed char" for precision. - * - * Revision 2.2 90/09/19 16:39:28 - * Include so sys_name specific conditionals work. - * On hp set clock phase to 5. - * On sun set clock max to .5 sec. - * Define a type called s_char which is really a signed character. Use this - * in both packet structures. - * - * Revision 2.1 90/08/07 19:22:47 - * Start with clean version to sync test and dev trees. - * - * Revision 1.11 90/05/24 16:18:08 - * Changed CLOCK_PHASE for AIX from 8 to 5. - * - * Revision 1.10 90/05/21 13:50:30 - * Set CLOCK_MAX to 1.167 (one second plus one tick) for AIX, since it doesn't do - * too well. - * - * Revision 1.9 89/05/24 12:25:13 - * Latest May 18, Version 4.3 release from UMD. - * - * Revision 3.4.1.7 89/05/18 18:22:14 - * A few extra diddles in ntp.h for the reference clock feature. - * - * Revision 3.4.1.6 89/05/03 15:11:06 - * Specify default file for drift value and more peer flag definitions to - * reflect various stages of clock selection critera. - * - * Revision 3.4.1.5 89/04/10 15:55:42 - * Provide default value for number of bits/byte if not defined. Compute the - * Window shift mask inside of conditional code on XTAL so we get the correct - * value if configured without a crystal controled clock (!!) - * - * Revision 3.4.1.4 89/03/31 16:34:50 - * Add bit in flags which allow a peer to be synced to. Changed a char to a bit - * field so that it is always signed. - * - * Revision 3.4.1.3 89/03/29 12:26:18 - * Removed some unused #defines. Replaced MAXSTRATUM with NTP_INFIN per new - * spec. The variable 'mode' in the peer structure has been renamed 'hmode' - * per the new spec. - * - * Revision 3.4.1.2 89/03/22 18:28:18 - * patch3: Use new RCS headers. - * - * Revision 3.4.1.1 89/03/20 00:02:53 - * 1 - * - * Revision 3.4 89/03/17 18:37:00 - * Latest test release. - * - * Revision 3.3.1.1 89/03/17 18:23:49 - * Change CLOCK_FACTOR to be a power of 2. - * - * Revision 3.3 89/03/15 14:19:36 - * New baseline for next release. - * - * Revision 3.2.1.2 89/03/15 13:46:52 - * The version number for that particular flavor of ntpd <--> ntpdc interaction - * is now defined by NTPDC_VERSION. The packet format for the ntpdc program - * has changed slightly to improve robustness when dealing with multiple packets - * of status data. - * - * Revision 3.2.1.1 89/03/09 17:11:24 - * patch1: Updated constants, which were previously in incorrect units. - * - * Revision 3.2 89/03/07 18:21:45 - * New version of UNIX NTP daemon and software based on the 6 March 1989 - * draft of the new NTP protocol specification. This version doesn't - * implement authentication, and accepts and send only NTP Version 1 - * packets. - * - * Revision 3.1.1.1 89/02/15 08:54:42 - * *** empty log message *** - * - * - * Revision 3.1 89/01/30 14:43:07 - * Second UNIX NTP test release. - * - * Revision 3.0 88/12/12 16:01:07 - * Test release of new UNIX NTP software. This version should conform to the - * revised NTP protocol specification. - * - */ - -#include /* include this, just to make sure */ - #ifndef FD_SET #define NFDBITS 32 #define FD_SETSIZE 32 diff --git a/src/ntp/ntp_adjust.c b/src/ntp/ntp_adjust.c index 5fc8a1a7f2..40d70425f4 100644 --- a/src/ntp/ntp_adjust.c +++ b/src/ntp/ntp_adjust.c @@ -7,92 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif -/* - * This module implemenets the logical Local Clock, as described in section - * 5. of the NTP specification. - * - * Revision 2.2 90/09/19 16:23:58 - * Changed most AIX conditionals to AIX22 since, 3.1 has adjtime call. - * On HP only call settimeofday if accumulated offset is at least 2 msec. - * - * Revision 2.1 90/08/07 19:22:51 - * Start with clean version to sync test and dev trees. - * - * Revision 1.9 90/05/24 16:20:57 - * For AIX add code to set the bias according to current offset begin - * positive or negative. - * Fix bug where cum.tv_sec wasn't being added in. - * Reorganize HPUX conditionals a bit. - * - * Revision 1.8 90/05/21 13:49:48 - * Modify local adjtime procedure to try really hard to set the time by shaving - * the usec field of the clock using stime. - * - * Revision 1.7 89/12/22 20:30:19 - * hp/ux specific (initial port to it); Added and special include files for HPUX and misc other changes such as handle sysV stuff (i.e. adjtime()) alike AIX - * - * Revision 1.6 89/12/11 14:25:26 - * Added code to support AIX 2.2.1. - * - * Revision 1.5 89/05/24 12:25:22 - * Latest May 18, Version 4.3 release from UMD. - * - * Revision 3.4.1.4 89/05/18 18:23:36 - * A couple of changes to debug NeXT support in ntp_adjust.c - * - * Revision 3.4.1.3 89/04/07 18:05:17 - * Removed unused variable from ntp_adjust.c module. - * - * Revision 3.4.1.2 89/03/22 18:30:52 - * patch3: Use new RCS headers. - * - * Revision 3.4.1.1 89/03/20 00:09:06 - * patch1: Don't zero the drift compensation or compliance values when a step - * patch1: adjustment of the clock occurs. Use symbolic definition of - * patch1: CLOCK_FACTOR rather than constant. - * - * Revision 3.4 89/03/17 18:37:03 - * Latest test release. - * - * Revision 3.3.1.2 89/03/17 18:25:03 - * Applied suggested code from Dennis Ferguson for logical clock model based on - * the equations in section 5. Many thanks. - * - * Revision 3.3.1.1 89/03/16 19:19:29 - * Attempt to implement using the equations in section 5 of the NTP spec, - * rather then modeling the Fuzzball implementation. - * - * Revision 3.3 89/03/15 14:19:45 - * New baseline for next release. - * - * Revision 3.2.1.1 89/03/15 13:47:24 - * Use "%f" in format strings rather than "%lf". - * - * Revision 3.2 89/03/07 18:22:54 - * New version of UNIX NTP daemon and software based on the 6 March 1989 - * draft of the new NTP protocol specification. This module attempts to - * conform to the new logical clock described in section 5 of the spec. Note - * that the units of the drift_compensation register have changed. - * - * This version also accumulates the residual adjtime() truncation and - * adds it in on subsequent adjustments. - * - * Revision 3.1.1.1 89/02/15 08:55:48 - * *** empty log message *** - * - * - * Revision 3.1 89/01/30 14:43:08 - * Second UNIX NTP test release. - * - * Revision 3.0 88/12/12 16:00:38 - * Test release of new UNIX NTP software. This version should conform to the - * revised NTP protocol specification. - * - */ - #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/ntp/ntp_proto.c b/src/ntp/ntp_proto.c index 5c3ada17d3..312bcfdd1e 100644 --- a/src/ntp/ntp_proto.c +++ b/src/ntp/ntp_proto.c @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif /* * This module actually implements the the bulk of the NTP protocol processing. * It contains a minimum of machine and operating system dependencies (or at @@ -16,127 +14,11 @@ * ntpd.c module, while arithmetic conversion routines are in ntpsubs.c */ -/* - * Revision 2.2 90/09/20 09:21:00 - * Print Input timestamp so that it follow ump_pkt outupt. - * Add various checks for bogus timestamps and delays. - * Parenthesize ?: expression properly. - * - * Revision 2.1 90/08/07 19:22:57 - * Start with clean version to sync test and dev trees. - * - * Revision 1.4 90/05/24 16:18:43 - * Cause logstats to be printed out if debug mode is on. - * - * Revision 1.3 89/12/22 20:31:43 - * hp/ux specific (initial port to it); Added and special include files for HPUX and misc other changes - * - * Revision 1.2 89/12/11 14:25:31 - * Added code to support AIX 2.2.1. - * - * Revision 1.1 89/05/24 12:02:06 - * Initial revision - * - * Revision 3.4.1.12 89/05/18 18:25:04 - * Changes for reference clock feature in ntp_proto.c - * - * Revision 3.4.1.11 89/05/03 23:51:30 - * Had my head on backwards with a reversed test in the clockhopper avoidance - * code. Need to switch to the first selected clock when its stratum is lower - * than the current sys.peer. - * - * Revision 3.4.1.10 89/05/03 19:03:02 - * Stupid typo - dereferenced unused variable in select_clock() - * - * Revision 3.4.1.9 89/05/03 15:13:25 - * Add code to count number of peer switches and inhibited peer switches. Clock - * selection code has been updated to reflect 21 April 1989 draft of NTP spec. - * - * Revision 3.4.1.8 89/04/10 15:57:59 - * New -l option for ntpd to enable logging for clock adjust messages. Changed - * our idea of a bogus packet in the packet procedure to include a packet received - * before a poll is sent. Fix stupid bug in delay computation having to do with - * peer->precision. - * - * Revision 3.4.1.7 89/04/08 10:36:53 - * The syslog message for peer selection had to be moved to account for the - * anti-peer flapping code just installed. - * - * Revision 3.4.1.6 89/04/07 19:07:10 - * Don't clear peer.reach register in the clear() procedure. Code to prevent - * flapping between two peers with very similar dispersions. - * - * Revision 3.4.1.5 89/03/31 16:36:38 - * There is now a run-time option that can be specified in the configuration - * which specifies if we will synchronize to unconfigured hosts. Fixes to - * receive() logic state machine. - * - * Revision 3.4.1.4 89/03/29 12:29:10 - * The variable 'mode' in the peer structure was renamed 'hmode'. Add - * poll_update() calls in a few places per Mills. The receive() procedure is - * now table driven. The poll_update procedure only randomized the timer - * when the interval changes. If we lose synchronization, don't zap sys.stratum. - * Clean up the sanity_check() routine a bit. - * - * Revision 3.4.1.3 89/03/22 18:32:31 - * patch3: Use new RCS headers. - * - * Revision 3.4.1.2 89/03/22 18:02:22 - * Add some fiddles for BROADCAST NTP mode. In the receive procedure, set the - * reachability shift register of peers that are configured, even if we won't - * synchronized to them. Fix adjustment of delay in the process_packet() - * routine. Repair byteswapping problem. - * - * - * Revision 3.4.1.1 89/03/20 00:10:06 - * patch1: sys.refid could have garbage left if the peer we're synchronized to - * patch1: is lost. - * - * Revision 3.4 89/03/17 18:37:05 - * Latest test release. - * - * Revision 3.3.1.1 89/03/17 18:26:02 - * Oh my, peer->hpoll wasn't being set in peer_update! - * - * Revision 3.3 89/03/15 14:19:49 - * New baseline for next release. - * - * Revision 3.2.1.2 89/03/15 13:54:41 - * Change use of "%lf" in format strings to use "%f" instead. - * poll_update no longer returns a value, due to a change in the transmit - * procedure; it is now declared as returning void. Removed syslog - * message "Dropping peer ...". You still get messages for peers which - * were configured when reachability is lost with them. Clarification of - * calling poll_update on sys.peer rather than on the host whose packet - * we're processing when sys.peer changes. poll_update has been updated - * including randomizing peer.timer. - * - * Revision 3.2.1.1 89/03/10 11:30:33 - * Remove computation of peer->timer that was present due to a bug in the NTP - * spec. Don't set sys.precision in the NTP protocol initialization; this has - * bad side effects with the code that get tick from the kernel and the NTP - * config file scanner. - * - * Revision 3.2 89/03/07 18:24:54 - * New version of UNIX NTP daemon based on the 6 March 1989 draft of the new - * NTP protocol specification. This version has a bunch of bugs fixes and - * new algorithms which were discussed on the NTP mailing list over the past - * few weeks. - * - * Revision 3.1.1.1 89/02/15 08:57:34 - * *** empty log message *** - * - * - * Revision 3.1 89/01/30 14:43:10 - * Second UNIX NTP test release. - * - * Revision 3.0 88/12/12 15:59:35 - * Test release of new UNIX NTP software. This version should conform to the - * revised NTP protocol specification. - * - */ - #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/ntp/ntp_sock.c b/src/ntp/ntp_sock.c index 789ccbc8a3..3a1acf5cc0 100644 --- a/src/ntp/ntp_sock.c +++ b/src/ntp/ntp_sock.c @@ -7,59 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif -/* - * Revision 2.1 90/08/07 19:23:04 - * Start with clean version to sync test and dev trees. - * - * Revision 1.6 89/12/11 14:25:44 - * Added code to support AIX 2.2.1. - * - * Revision 1.5 89/05/24 12:26:08 - * Latest May 18, Version 4.3 release - * - * Revision 3.4.1.3 89/05/18 18:28:20 - * In ntp_sock.c, change the order that the bind() call is done for each socket. - * It turns out that if you have the Multicast code installed, incoming packets - * will be delived to the *first* socket that matches. It also turns out that - * when binding sockets, the first one bound is the last on checked, so we want - * to bind the wildcard socket first. - * - * Revision 3.4.1.2 89/04/07 19:07:46 - * Deleted unused variables in ntp_sock.c - * - * Revision 3.4.1.1 89/03/22 18:31:20 - * patch3: Use new RCS headers. - * - * Revision 3.4 89/03/17 18:37:09 - * Latest test release. - * - * Revision 3.3 89/03/15 14:19:53 - * New baseline for next release. - * - * Revision 3.2.1.1 89/03/10 11:30:41 - * 1 - * - * Revision 3.2 89/03/07 18:26:26 - * New version of UNIX NTP daemon based on the 6 March 1989 draft of the new - * NTP protocol specification. This version has a bunch of bugs fixes and - * new algorithms which were discussed on the NTP mailing list over the past - * few weeks. - * - * Revision 3.1.1.1 89/02/15 08:56:28 - * *** empty log message *** - * - * - * Revision 3.1 89/01/30 14:43:12 - * Second UNIX NTP test release. - * - * Revision 3.0 88/12/12 16:00:15 - * Test release of new UNIX NTP software. This version should conform to the - * revised NTP protocol specification. - * - */ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_SUN5_ENV diff --git a/src/ntp/ntpd.c b/src/ntp/ntpd.c index 9d7cceb5ca..2fe3b185f0 100644 --- a/src/ntp/ntpd.c +++ b/src/ntp/ntpd.c @@ -7,140 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif /* lint */ -/* - * Revision 1.2 1993/04/11 17:35:40 - * define NOSWAP option on sgi - * - * Revision 1.1 1992/09/21 16:35:59 - * - * Revision 2.6 91/08/13 12:28:10 - * Expect HP-UX to need large BOGUS drift comp value. - * - * Revision 2.5 90/12/03 14:19:34 - * Add some miscellaneous debugging and checking stmts. - * In query_mode, peer->sock needed better array bounds checking. - * - * Revision 2.4 90/10/08 15:44:45 - * Add -f switch that prevents forking. - * Also fix syslog message to use %s instead of %d! - * - * Revision 2.3 90/09/27 16:57:07 - * Bring afs.dev in sync with afs.test - * - * Revision 2.2 90/09/19 16:32:05 - * Add parameter to set dosynctodr kernel variable. Also subroutinize the - * kernel setting code to make this easy. - * Call MeasurePrecision to get real precision. - * On HP set daemon to run at real time priority. - * Output floating point version of timestamps in dump_pkt. - * Also on HP ignore zero length packets. - * Call syslog w/ correct parameters. - * - * Revision 2.1 90/08/07 19:23:11 - * Start with clean version to sync test and dev trees. - * - * Revision 1.22 90/06/13 20:09:36 - * rs_aix31 - * - * Revision 1.21 90/05/24 16:17:24 - * Moved timeout interval bias into ntp_adjust. - * Changed bogus drift compensation from 2.0 to 10.0. - * - * Revision 1.20 90/05/21 13:48:11 - * Various changed for AIX: - * 1. #define BSD_REMAP_SIGNAL_TO_SIGVEC so signal works right. - * 2. skew the CLOCK_ADJ so it doesn't happen same time every second. - * 3. Up the bogus drift_comp value from 1.0 to 2.0. - * - * Revision 1.19 89/12/22 20:32:11 - * hp/ux specific (initial port to it); Added and special include files for HPUX and misc other changes - * - * Revision 1.18 89/12/11 14:25:51 - * Added code to support AIX 2.2.1. - * - * Revision 1.17 89/05/24 12:26:23 - * Latest May 18, Version 4.3 release from UMD. - * - * Revision 3.4.1.9 89/05/18 18:30:17 - * Changes in ntpd.c for reference clock support. Also, a few diddles to - * accomodate the NeXT computer system that has a slightly different nlist.h - * - * Revision 3.4.1.8 89/05/03 15:16:17 - * Add code to save the value of the drift compensation register to a file every - * hour. Add additional configuration file directives which can specify the same - * information as on the command line. - * - * Revision 3.4.1.7 89/04/10 15:58:45 - * Add -l option to enable logging of clock adjust messages. - * - * Revision 3.4.1.6 89/04/07 19:09:04 - * Added NOSWAP code for Ultrix systems to lock NTP process in memory. Deleted - * unused variable in ntpd.c - * - * Revision 3.4.1.5 89/03/31 16:37:49 - * Add support for "trusting" directive in NTP configuration file. It allows - * you to specify at run time if non-configured peers will be synced to. - * - * Revision 3.4.1.4 89/03/29 12:30:46 - * peer->mode has been renamed peer->hmode. Drop PEER_FL_SYNC since the - * PEER_FL_CONFIG flag means much the same thing. - * - * Revision 3.4.1.3 89/03/22 18:29:41 - * patch3: Use new RCS headers. - * - * Revision 3.4.1.2 89/03/22 18:03:17 - * The peer->refid field was being htonl()'ed when it was already in network - * byte order. - * - * Revision 3.4.1.1 89/03/20 00:12:10 - * patch1: Diddle syslog messages a bit. Handle case of udp/ntp not being - * patch1: defined in /etc/services. Compute default value for tickadj if - * patch1: the change-kernel-tickadj flag is set, but no tickadj directive - * patch1: is present in the configuration file. - * - * Revision 3.4 89/03/17 18:37:11 - * Latest test release. - * - * Revision 3.3.1.1 89/03/17 18:26:32 - * 1 - * - * Revision 3.3 89/03/15 14:19:56 - * New baseline for next release. - * - * Revision 3.2.1.2 89/03/15 13:59:50 - * Initialize random number generator. The ntpdc query_mode() routine has been - * revised to send more peers per packet, a count of the total number of peers - * which will be transmited, the number of packets to be transmitted, and a - * sequence number for each packet. There is a new version number for the - * ntpdc query packets, which is now symbolically defined in ntp.h - * - * Revision 3.2.1.1 89/03/10 12:27:41 - * Removed reference to HUGE, and replaced it by a suitable large number. Added - * some #ifdef DEBUG .. #endif around some debug code that was missing. Display - * patchlevel along with version. - * - * Revision 3.2 89/03/07 18:26:30 - * New version of the UNIX NTP daemon based on the 6 March 1989 draft of the - * new NTP protcol spec. A bunch of cosmetic changes. The peer list is - * now doublely linked, and a subroutine (enqueue()) replaces the ENQUEUE - * macro used previously. - * - * Revision 3.1.1.1 89/02/15 08:58:46 - * Bugfixes to released version. - * - * - * Revision 3.1 89/01/30 14:43:14 - * Second UNIX NTP test release. - * - * Revision 3.0 88/12/12 15:56:38 - * Test release of new UNIX NTP software. This version should conform to the - * revised NTP protocol specification. - * - */ - #include +#include + +RCSID("$Header$"); + #if defined(AFS_SGI_ENV) #define NOSWAP 1 #endif diff --git a/src/ntp/ntpdc.c b/src/ntp/ntpdc.c index 9daf689c0f..e95de5a4cb 100644 --- a/src/ntp/ntpdc.c +++ b/src/ntp/ntpdc.c @@ -7,97 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif -/* - * Revision 2.2 90/09/19 16:28:02 - * Print out number of packets dropped. - * - * Revision 2.1 90/08/07 19:23:19 - * Start with clean version to sync test and dev trees. - * - * Revision 1.11 90/06/13 20:11:15 - * rs_aix31 - * - * Revision 1.10 89/12/22 20:32:52 - * hp/ux specific (initial port to it); Added and special include files for HPUX and misc other changes - * - * Revision 1.9 89/12/11 14:26:03 - * Added code to support AIX 2.2.1. - * - * Revision 1.8 89/05/24 12:26:45 - * Latest May 18, Version 4.3 release from UMD. - * - * Revision 3.4.1.7 89/05/18 18:31:26 - * A few cosmetic changes for ntpd.c - * - * Revision 3.4.1.6 89/05/03 15:17:27 - * ntpdc now will display addional peer flags which indicate how far through - * the clock selection process a peer was considered. - * - * Revision 3.4.1.5 89/04/08 10:38:06 - * Minor cosmetic changes and removed dead debug code from ntpd.c - * - * Revision 3.4.1.4 89/03/29 12:41:56 - * Check for success sending query before trying to listen for answers. Will - * catch case of no server running and an ICMP port unreachable being returned. - * - * Revision 3.4.1.3 89/03/22 18:29:53 - * patch3: Use new RCS headers. - * - * Revision 3.4.1.2 89/03/22 18:04:18 - * Display dispersion in milliseconds. The peer->refid field was being ntohl()'ed - * when it should have stayed in network byte order. - * - * Revision 3.4.1.1 89/03/20 00:13:41 - * patch1: Delete unused variables. Display interface address in numeric form - * patch1: for local address, rather than symbolically. For multiple host - * patch1: queries, the name of the host is emitted prior to the data for that - * patch1: host. - * - * Revision 3.4 89/03/17 18:37:16 - * Latest test release. - * - * Revision 3.3.1.1 89/03/17 18:27:43 - * Fix version number mismatch error message. - * - * Revision 3.3 89/03/15 14:20:00 - * New baseline for next release. - * - * Revision 3.2.1.2 89/03/15 14:03:02 - * The logical used to receive replies has been revised considerably. Each packet - * in the reply from the ntpd program carries the total number of packets in the - * reply as well as a sequence number for this packet. Thus, we know how many - * packets to expect, and which one's we're received already. A new UDP socket - * is used for each host to prevent the replies from being mixed. This was - * a problem when querying an old ntpd which returned 7 bad version packets.. - * Use "%f" rather than "%lf" in format strings. - * - * Revision 3.2.1.1 89/03/10 12:28:24 - * Clean up output fomatting somewhat. - * - * Revision 3.2 89/03/07 18:27:52 - * Cosmetic changes and bug fixes. Note that this version is likely to be - * slightly incompatible with previous versions because the definitions of - * the flage bits (PEER_FL_*) in ntp.h have changed. - * - * A future version of this program will have a considerably different - * packet format when Version 2 support is added. - * - * Revision 3.1.1.1 89/02/15 09:01:39 - * Bugfixes to previous release version. - * - * - * Revision 3.1 89/01/30 14:43:16 - * Second UNIX NTP test release. - * - * Revision 3.0 88/12/12 15:57:28 - * Test release of new UNIX NTP software. This version should conform to the - * revised NTP protocol specification. - * - */ - #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/ntp/ntpsubs.c b/src/ntp/ntpsubs.c index 28bdbf31a5..7b9b17b48e 100644 --- a/src/ntp/ntpsubs.c +++ b/src/ntp/ntpsubs.c @@ -7,60 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif /* lint */ -/* - * Revision 2.1 90/08/07 19:23:23 - * Start with clean version to sync test and dev trees. - * - * Revision 1.7 89/12/22 20:33:21 - * hp/ux specific (initial port to it); Added and special include files for HPUX and misc other changes - * - * Revision 1.6 89/12/11 14:26:16 - * Added code to support AIX 2.2.1. - * - * Revision 1.5 89/05/24 12:27:44 - * Latest May 18, Version 4.3 release from UMD. - * - * Revision 3.4.1.3 89/05/18 18:33:50 - * Added support few a new type of unsigned long to double compiler brokenness, - * called GENERIC_UNS_BUG. If this is defined, then the unsigned long is - * shifted right one bit, the high-order bit of the result is cleared, then - * converted to a double. The double is multiplied by 2.0, and the a 1.0 is - * optionall added to it if the low order bit of the original unsigned long - * was set. Whew! - * - * Revision 3.4.1.2 89/03/29 12:46:02 - * Check for success sending query before trying to listen for answers. Will - * catch case of no server running and an ICMP port unreachable being returned. - * - * Revision 3.4.1.1 89/03/22 18:32:19 - * patch3: Use new RCS headers. - * - * Revision 3.4 89/03/17 18:37:18 - * Latest test release. - * - * Revision 3.3 89/03/15 14:20:03 - * New baseline for next release. - * - * Revision 3.2 89/03/07 18:29:22 - * New version of UNIX NTP daemon based on the 6 March 1989 draft of the new - * NTP protocol spec. This module has mostly cosmetic changes. - * - * Revision 3.1.1.1 89/02/15 08:59:27 - * *** empty log message *** - * - * - * Revision 3.1 89/01/30 14:43:18 - * Second UNIX NTP test release. - * - * Revision 3.0 88/12/12 15:58:59 - * Test release of new UNIX NTP software. This version should conform to the - * revised NTP protocol specification. - * - */ - #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/ntp/read_local.c b/src/ntp/read_local.c index ee6b81dc91..19af354c04 100644 --- a/src/ntp/read_local.c +++ b/src/ntp/read_local.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #ifdef REFCLOCK /* * A dummy clock reading routine that reads the current system time. diff --git a/src/ntp/read_psti.c b/src/ntp/read_psti.c index 78e6c6ea9a..2a128c30d2 100644 --- a/src/ntp/read_psti.c +++ b/src/ntp/read_psti.c @@ -7,11 +7,12 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#if defined(REFCLOCK) && defined(PSTI) -#ifndef lint -static char *sccsid = "@(#)read_psti.c 1.1 MS/ACF 89/02/17"; -#endif /* lint */ +#include +#include +RCSID("$Header$"); + +#if defined(REFCLOCK) && defined(PSTI) #define ERR_RATE 60 /* Repeat errors once an hour */ /* diff --git a/src/ntp/runntp.c b/src/ntp/runntp.c index bcbbaa5eb5..a14e947dde 100644 --- a/src/ntp/runntp.c +++ b/src/ntp/runntp.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/ntp/test.c b/src/ntp/test.c index 40b39e0bf8..a628bfdd29 100644 --- a/src/ntp/test.c +++ b/src/ntp/test.c @@ -7,66 +7,13 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif -/* - * Revision 2.2 90/09/20 09:30:19 - * Changed program to call test2 even in non-verbose mode. Test2 fixed to - * be quiet if not in verbose mode and check more signed/unsigned - * conversions. - * Added test5 to check precision sign extension and delay calculations. - * Added test6 to check precision measurement. - * - * Revision 2.1 90/08/07 19:23:42 - * Start with clean version to sync test and dev trees. - * - * Revision 1.5 89/12/11 14:26:49 - * Added code to support AIX 2.2.1. - * - * Revision 1.4 89/05/24 12:27:54 - * Latest May 18, Version 4.3 release. - * - * Revision 3.4.1.4 89/05/18 18:37:39 - * Add test for GENERIC_UNS_BUG to test.c - * - * Revision 3.4.1.3 89/04/07 19:10:41 - * Add check for SUN_FLT_BUG problem in test.c - * - * Revision 3.4.1.2 89/03/31 16:39:19 - * Bug fix for VAX_COMPILER_FLT_BUG test, start of test for Sun problem. - * - * Revision 3.4.1.1 89/03/22 18:32:26 - * patch3: Use new RCS headers. - * - * Revision 3.4 89/03/17 18:37:32 - * Latest test release. - * - * Revision 3.3 89/03/15 14:20:16 - * New baseline for next release. - * - * Revision 3.2.1.1 89/03/15 14:11:08 - * Add in kludge for old VAX pcc compiler bug that incorrectly converts unsigned - * longs to doubles. This enables the ntest program to run when - * VAX_COMPILER_FLT_BUG is defined on those systems. - * - * Revision 3.2 89/03/07 18:30:16 - * New version of UNIX NTP daemon based on the 6 March 1989 draft of the new - * NTP protocol spec. This module has mostly cosmetic changes. - * - * Revision 3.1.1.1 89/02/15 08:49:34 - * *** empty log message *** - * - * - * Revision 3.1 89/01/30 14:43:19 - * Second UNIX NTP test release. - * - * Revision 3.0 88/12/12 16:01:37 - * Test release of new UNIX NTP software. This version should conform to the - * revised NTP protocol specification. - * - */ -#include #include +#include + +RCSID("$Header$"); + +#include +#include #include #include #include diff --git a/src/package/Makefile b/src/package/Makefile index 2cfcbdff85..e725a32685 100644 --- a/src/package/Makefile +++ b/src/package/Makefile @@ -9,7 +9,7 @@ SHELL = /bin/sh COMPONENT=package include ../config/Makefile.${SYS_NAME} -INCLUDES = -I/usr/include -I${SRCDIR}include +INCLUDES = -I/usr/include -I${TOP_SRCDIR}/config -I${SRCDIR}include DBGFLAG = -UDEBUG CFLAGS = ${DBUG} -DKFLAG -DANDREW -DVICE $(DBGFLAG) $(INCLUDES) $(XCFLAGS) YFLAGS = -vd diff --git a/src/package/conftree.c b/src/package/conftree.c index 2e09d897ab..c0056c7237 100644 --- a/src/package/conftree.c +++ b/src/package/conftree.c @@ -15,6 +15,7 @@ * Transarc Corporation & Carnegie Mellon University *------------------------------------------------------------------------*/ +#include #include #include #include diff --git a/src/package/lex.l b/src/package/lex.l index 50eb3d1601..2834e56277 100644 --- a/src/package/lex.l +++ b/src/package/lex.l @@ -10,6 +10,11 @@ * workstation configuration facility. */ +#include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/package/misc.c b/src/package/misc.c index c0ac8f820f..663aa3262a 100644 --- a/src/package/misc.c +++ b/src/package/misc.c @@ -1,5 +1,5 @@ - +#include #include #include #include diff --git a/src/package/package.h b/src/package/package.h index bfa1ddab24..5dca01c3b7 100644 --- a/src/package/package.h +++ b/src/package/package.h @@ -16,7 +16,6 @@ * Transarc Corporation & Carnegie Mellon University *------------------------------------------------------------------------*/ -#include #include #include diff --git a/src/package/systype.h b/src/package/systype.h index 8aa355ca0e..8af817cda1 100644 --- a/src/package/systype.h +++ b/src/package/systype.h @@ -14,6 +14,4 @@ * Transarc Corporation & Carnegie Mellon University *------------------------------------------------------------------------*/ -#include - char *systype = SYS_NAME; diff --git a/src/package/validupdates.h b/src/package/validupdates.h index c1ad8b5a6c..0efe76bd58 100644 --- a/src/package/validupdates.h +++ b/src/package/validupdates.h @@ -15,7 +15,6 @@ * Transarc Corporation & Carnegie Mellon University *------------------------------------------------------------------------*/ -#include #include struct updatetype diff --git a/src/pam/Makefile b/src/pam/Makefile index 941025a091..c6f3c8e0d9 100644 --- a/src/pam/Makefile +++ b/src/pam/Makefile @@ -26,7 +26,8 @@ LDFLAGS = ${SHARE_LDFLAGS} SHOBJS = afs_auth.o afs_account.o afs_session.o afs_password.o \ afs_pam_msg.o afs_message.o afs_util.o AFS_component_version_number.o OBJS = $(SHOBJS) test_pam.o -INCLUDES = -I${DESTDIR}include -I/usr/include -I/usr/include/sys +INCLUDES = -I${TOP_SRCDIR}/config -I${DESTDIR}include \ + -I/usr/include -I/usr/include/sys CFLAGS = ${DEBUG} ${INCLUDES} ${PAM_CFLAGS} TARGETS = pam_afs.so.1 test_pam pam_afs.krb.so.1 diff --git a/src/pam/afs_account.c b/src/pam/afs_account.c index bc6013d12d..8b6fff3efa 100644 --- a/src/pam/afs_account.c +++ b/src/pam/afs_account.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include #include diff --git a/src/pam/afs_auth.c b/src/pam/afs_auth.c index aad7939b3b..31bd1d169e 100644 --- a/src/pam/afs_auth.c +++ b/src/pam/afs_auth.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include #include #include @@ -14,7 +19,6 @@ #include #include #include -#include #include #include #include "afs_message.h" diff --git a/src/pam/afs_message.c b/src/pam/afs_message.c index da3c708177..90334cefb8 100644 --- a/src/pam/afs_message.c +++ b/src/pam/afs_message.c @@ -15,6 +15,10 @@ #include #include #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/pam/afs_pam_msg.c b/src/pam/afs_pam_msg.c index f43e5a3c42..4a9dc54cde 100644 --- a/src/pam/afs_pam_msg.c +++ b/src/pam/afs_pam_msg.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include #include #include "afs_pam_msg.h" diff --git a/src/pam/afs_password.c b/src/pam/afs_password.c index c644e85682..da28a2e2b7 100644 --- a/src/pam/afs_password.c +++ b/src/pam/afs_password.c @@ -15,6 +15,10 @@ #include #include #include +#include + +RCSID("$Header$"); + #include #include #include "afs_message.h" diff --git a/src/pam/afs_session.c b/src/pam/afs_session.c index c6f4a83fbb..741067f621 100644 --- a/src/pam/afs_session.c +++ b/src/pam/afs_session.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include #include diff --git a/src/pam/afs_setcred.c b/src/pam/afs_setcred.c index daf1781766..c1419761ca 100644 --- a/src/pam/afs_setcred.c +++ b/src/pam/afs_setcred.c @@ -15,6 +15,10 @@ #include #include #include +#include + +RCSID("$Header$"); + #include #include #include "afs_message.h" diff --git a/src/pam/afs_util.c b/src/pam/afs_util.c index e5223ee34c..345ff7ba27 100644 --- a/src/pam/afs_util.c +++ b/src/pam/afs_util.c @@ -11,6 +11,10 @@ #include #include #include +#include + +RCSID("$Header$"); + #include "afs_util.h" diff --git a/src/pam/test_pam.c b/src/pam/test_pam.c index 1939437ab7..c4461a2c5d 100644 --- a/src/pam/test_pam.c +++ b/src/pam/test_pam.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/pinstall/Makefile b/src/pinstall/Makefile index b08e48483b..bd0f457abd 100644 --- a/src/pinstall/Makefile +++ b/src/pinstall/Makefile @@ -30,7 +30,7 @@ COMPONENT=pinstall include ../config/Makefile.${SYS_NAME} LIBS= ${XLIBS} -CFLAGS= ${OPTMZ} ${XCFLAGS} +CFLAGS= ${OPTMZ} -I${TOP_SRCDIR}/config ${XCFLAGS} include ../config/Makefile.version diff --git a/src/pinstall/install.c b/src/pinstall/install.c index 36b3e265e9..690f9ba4a7 100644 --- a/src/pinstall/install.c +++ b/src/pinstall/install.c @@ -28,9 +28,6 @@ SOFTWARE. ******************************************************************/ /* $ACIS: $ */ -#ifndef lint -#endif - /* ALSO utimes and strip the file Generic install command. Options are: @@ -50,6 +47,10 @@ Generic install command. Options are: #define MAXFILES 200 #define BUFSIZE 32768 #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/procmgmt/Makefile b/src/procmgmt/Makefile index ebfba3ce40..4e2d202d48 100644 --- a/src/procmgmt/Makefile +++ b/src/procmgmt/Makefile @@ -8,7 +8,7 @@ include ../config/Makefile.${SYS_NAME} include ../config/Makefile.version -CFLAGS = $(DBUG) -I${SRCDIR}include ${XCFLAGS} +CFLAGS = $(DBUG) -I${SRCDIR}include -I${TOP_SRCDIR}/config ${XCFLAGS} ######################################################################## # build libprocmgmt.a diff --git a/src/procmgmt/afskill.c b/src/procmgmt/afskill.c index b2c21f7b9d..f76eb6d4c2 100644 --- a/src/procmgmt/afskill.c +++ b/src/procmgmt/afskill.c @@ -13,6 +13,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include diff --git a/src/procmgmt/procmgmt_nt.c b/src/procmgmt/procmgmt_nt.c index 27f7b329e0..70a441c37d 100644 --- a/src/procmgmt/procmgmt_nt.c +++ b/src/procmgmt/procmgmt_nt.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include diff --git a/src/procmgmt/procmgmt_unix.c b/src/procmgmt/procmgmt_unix.c index 7b36029ebf..7635bd96d7 100644 --- a/src/procmgmt/procmgmt_unix.c +++ b/src/procmgmt/procmgmt_unix.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include diff --git a/src/procmgmt/redirect_nt.c b/src/procmgmt/redirect_nt.c index 36e3fa0275..07eb5b5e29 100644 --- a/src/procmgmt/redirect_nt.c +++ b/src/procmgmt/redirect_nt.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include diff --git a/src/procmgmt/test/pmgttest.c b/src/procmgmt/test/pmgttest.c index af6a981b99..c8320cf35c 100644 --- a/src/procmgmt/test/pmgttest.c +++ b/src/procmgmt/test/pmgttest.c @@ -11,6 +11,10 @@ #include +#include + +RCSID("$Header$"); + #include #include diff --git a/src/ptserver/db_verify.c b/src/ptserver/db_verify.c index 7e98bab6ef..b99ab51ca6 100644 --- a/src/ptserver/db_verify.c +++ b/src/ptserver/db_verify.c @@ -10,6 +10,10 @@ extern int errno; #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_NT40_ENV diff --git a/src/ptserver/display.c b/src/ptserver/display.c index 7d379e59bb..b626b80da9 100644 --- a/src/ptserver/display.c +++ b/src/ptserver/display.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_NT40_ENV diff --git a/src/ptserver/pt_util.c b/src/ptserver/pt_util.c index fbe9b4018a..ef451f1766 100644 --- a/src/ptserver/pt_util.c +++ b/src/ptserver/pt_util.c @@ -19,6 +19,10 @@ #include #include +#include + +RCSID("$Header$"); + #include #include #define UBIK_INTERNALS diff --git a/src/ptserver/ptclient.c b/src/ptserver/ptclient.c index 07ac13356e..79c0e8c6c5 100644 --- a/src/ptserver/ptclient.c +++ b/src/ptserver/ptclient.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #ifdef AFS_AIX32_ENV #include #endif diff --git a/src/ptserver/ptprocs.c b/src/ptserver/ptprocs.c index 4e06c66010..a7016db5ef 100644 --- a/src/ptserver/ptprocs.c +++ b/src/ptserver/ptprocs.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/ptserver/pts.c b/src/ptserver/pts.c index bb19f1e79b..1f5ce0b85c 100644 --- a/src/ptserver/pts.c +++ b/src/ptserver/pts.c @@ -7,9 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_AIX32_ENV diff --git a/src/ptserver/ptserver.c b/src/ptserver/ptserver.c index 15fc531128..278d90c475 100644 --- a/src/ptserver/ptserver.c +++ b/src/ptserver/ptserver.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_AIX32_ENV #include diff --git a/src/ptserver/ptuser.c b/src/ptserver/ptuser.c index 7d3382c55b..b47adbfc3b 100644 --- a/src/ptserver/ptuser.c +++ b/src/ptserver/ptuser.c @@ -9,6 +9,14 @@ #if defined(UKERNEL) #include "../afs/param.h" +#else +#include +#endif +#include + +RCSID("$Header$"); + +#if defined(UKERNEL) #include "../afs/sysincludes.h" #include "../afs/afs_usrops.h" #include "../afs/afsincludes.h" @@ -19,12 +27,9 @@ #include "../afs/auth.h" #include "../afs/cellconfig.h" #include "../afs/afsutil.h" - #include "../afs/ptclient.h" #include "../afs/pterror.h" - #else /* defined(UKERNEL) */ -#include #include #include #include diff --git a/src/ptserver/ptutils.c b/src/ptserver/ptutils.c index ccc4c46a29..05526dc4ae 100644 --- a/src/ptserver/ptutils.c +++ b/src/ptserver/ptutils.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/ptserver/readgroup.c b/src/ptserver/readgroup.c index 0a578e3efa..9fd0ae06b5 100644 --- a/src/ptserver/readgroup.c +++ b/src/ptserver/readgroup.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifndef AFS_NT40_ENV #include diff --git a/src/ptserver/readpwd.c b/src/ptserver/readpwd.c index bd6099116c..e714eeb818 100644 --- a/src/ptserver/readpwd.c +++ b/src/ptserver/readpwd.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifndef AFS_NT40_ENV #include diff --git a/src/ptserver/testpt.c b/src/ptserver/testpt.c index 8b81ad4396..85eed6f843 100644 --- a/src/ptserver/testpt.c +++ b/src/ptserver/testpt.c @@ -7,9 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/ptserver/ubik.c b/src/ptserver/ubik.c index 5c7fb6a184..7a6ad11720 100644 --- a/src/ptserver/ubik.c +++ b/src/ptserver/ubik.c @@ -1,5 +1,10 @@ /* $Id$ */ +#include +#include + +RCSID("$Header$"); + #include #include diff --git a/src/ptserver/utils.c b/src/ptserver/utils.c index 3686149475..dfc81524e5 100644 --- a/src/ptserver/utils.c +++ b/src/ptserver/utils.c @@ -7,9 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/rcp/Makefile b/src/rcp/Makefile index 2fbf5ccebc..5c7a69aa9b 100644 --- a/src/rcp/Makefile +++ b/src/rcp/Makefile @@ -24,7 +24,7 @@ SRCS= rcp.c OBJS= rcp.o ../rsh/rcmd.o ../rsh/herror.o ../inetd/ta-rauth.o COMPONENT=rcp -CFLAGS = ${OPTMZ} -I${DESTDIR}include ${XCFLAGS} +CFLAGS = ${OPTMZ} -I${TOP_SRCDIR}/config -I${DESTDIR}include ${XCFLAGS} LIBDIR = ${DESTDIR}lib/ AFSLIBS = ${LIBDIR}afs/libkauth.a ${LIBDIR}libubik.a\ ${LIBDIR}afs/libauth.a ${LIBDIR}afs/libsys.a \ diff --git a/src/rcp/rcp.c b/src/rcp/rcp.c index a11c525bbb..bc9b7f9666 100644 --- a/src/rcp/rcp.c +++ b/src/rcp/rcp.c @@ -15,20 +15,14 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#ifndef lint -char copyright[] = -"@(#) Copyright (c) 1983 The Regents of the University of California.\n\ - All rights reserved.\n"; -#endif /* not lint */ - -#ifndef lint -static char sccsid[] = "@(#)rcp.c 5.11 (Berkeley) 9/22/88"; -#endif /* not lint */ - /* * rcp */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/rlogind/Makefile b/src/rlogind/Makefile index 7d8f9fa261..241442f397 100644 --- a/src/rlogind/Makefile +++ b/src/rlogind/Makefile @@ -35,7 +35,7 @@ AFSLIBS = ${LIBDIR}afs/libkauth.a ${LIBDIR}afs/libprot.a ${LIBDIR}libubik.a\ RES = LIBS = ../login/libutil.a ${RES} ${AFSLIBS} ALIBS= ${AFSLIBS} -CFLAGS= ${OPTMZ} -I${DESTDIR}include ${XCFLAGS} +CFLAGS= ${OPTMZ} -I${TOP_SRCDIR}/config -I${DESTDIR}include ${XCFLAGS} include ../config/Makefile.version diff --git a/src/rlogind/rexecd.c b/src/rlogind/rexecd.c index e620c5058e..c9af75160a 100644 --- a/src/rlogind/rexecd.c +++ b/src/rlogind/rexecd.c @@ -1,23 +1,14 @@ -#ifndef lint -#endif - /* * Copyright (c) 1983 Regents of the University of California. * All rights reserved. The Berkeley software License Agreement * specifies the terms and conditions for redistribution. */ -#ifndef lint -char copyright[] = -"@(#) Copyright (c) 1983 Regents of the University of California.\n\ - All rights reserved.\n"; -#endif /* not lint */ - -#ifndef lint -static char sccsid[] = "@(#)rexecd.c 5.4 (Berkeley) 5/9/86"; -#endif /* not lint */ - #include +#include + +RCSID("$Header$"); + #include /* for UserAuthGeneral */ #include #ifdef AFS_SUN5_ENV diff --git a/src/rlogind/rlogind.c b/src/rlogind/rlogind.c index d37117a7ce..876fee3afc 100644 --- a/src/rlogind/rlogind.c +++ b/src/rlogind/rlogind.c @@ -15,17 +15,12 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#ifndef lint -char copyright[] = -"@(#) Copyright (c) 1983, 1988 The Regents of the University of California.\n\ - All rights reserved.\n"; -#endif /* not lint */ - -#ifndef lint -static char sccsid[] = "@(#)rlogind.c 5.22.1.6 (Berkeley) 2/7/89"; -#endif /* not lint */ - /* +#include +#include + +RCSID("$Header$"); + #ifdef MSG #include "rlogind_msg.h" #define MF_LIBC "libc.cat" diff --git a/src/rsh/Makefile b/src/rsh/Makefile index e85445e2ea..dfd643c429 100644 --- a/src/rsh/Makefile +++ b/src/rsh/Makefile @@ -21,7 +21,7 @@ COMPONENT=rsh include ../config/Makefile.${SYS_NAME} LIBDIR = ${DESTDIR}lib/ -INCLUDES= -I${SRCDIR}include +INCLUDES= -I${TOP_SRCDIR}/config -I${SRCDIR}include CFLAGS= ${DBUG} ${INCLUDES} ${XCFLAGS} LIBC= /lib/libc.a OBJS= rcmd.o ../inetd/ta-rauth.o herror.o diff --git a/src/rsh/herror.c b/src/rsh/herror.c index eebe2c686f..cb811b4cc7 100644 --- a/src/rsh/herror.c +++ b/src/rsh/herror.c @@ -15,11 +15,11 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static char sccsid[] = "@(#)herror.c 6.4 (Berkeley) 10/30/88"; -#endif /* LIBC_SCCS and not lint */ - #include +#include + +RCSID("$Header$"); + #ifndef AFS_DARWIN_ENV #include #include diff --git a/src/rsh/rcmd.c b/src/rsh/rcmd.c index c043e1c697..3c47eba4f0 100644 --- a/src/rsh/rcmd.c +++ b/src/rsh/rcmd.c @@ -15,11 +15,11 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static char sccsid[] = "@(#)rcmd.c 5.20 (Berkeley) 1/24/89"; -#endif /* LIBC_SCCS and not lint */ - #include +#include + +RCSID("$Header$"); + #ifdef aiws /*AIX*/ #include #define MAXHOSTNAMELEN 64 /* use BSD's, not sys/param's */ diff --git a/src/rsh/rlogin.c b/src/rsh/rlogin.c index c30cba25e8..0273a170cf 100644 --- a/src/rsh/rlogin.c +++ b/src/rsh/rlogin.c @@ -4,20 +4,14 @@ * specifies the terms and conditions for redistribution. */ -#ifndef lint -char copyright[] = -"@(#) Copyright (c) 1983 Regents of the University of California.\n\ - All rights reserved.\n"; -#endif /* not lint */ - -#ifndef lint -static char sccsid[] = "@(#)rlogin.c 5.6 (Berkeley) 9/18/85"; -#endif /* not lint */ - /* * rlogin - remote login */ #include +#include + +RCSID("$Header$"); + #if !defined(AFS_HPUX_ENV) && !defined(AFS_SUN5_ENV) && !defined(AFS_SGI_ENV) && !defined(AFS_LINUX20_ENV) #include #include diff --git a/src/rsh/rsh.c b/src/rsh/rsh.c index ae95f4515d..e91b31a773 100644 --- a/src/rsh/rsh.c +++ b/src/rsh/rsh.c @@ -15,17 +15,11 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#ifndef lint -char copyright[] = -"@(#) Copyright (c) 1983 The Regents of the University of California.\n\ - All rights reserved.\n"; -#endif /* not lint */ - -#ifndef lint -static char sccsid[] = "@(#)rsh.c 5.7 (Berkeley) 9/20/88"; -#endif /* not lint */ - #include +#include + +RCSID("$Header$"); + #include /* select() prototype */ #include /* fd_set on older platforms */ #include /* struct timeval, select() prototype */ diff --git a/src/rx/AIX/rx_kmutex.h b/src/rx/AIX/rx_kmutex.h index 058219cd9d..b23fb8e7e0 100644 --- a/src/rx/AIX/rx_kmutex.h +++ b/src/rx/AIX/rx_kmutex.h @@ -16,7 +16,6 @@ #ifndef _RX_KMUTEX_H_ #define _RX_KMUTEX_H_ -#include #ifdef AFS_AIX41_ENV diff --git a/src/rx/AIX/rx_knet.c b/src/rx/AIX/rx_knet.c index 7a9a824f9e..3be7650b90 100644 --- a/src/rx/AIX/rx_knet.c +++ b/src/rx/AIX/rx_knet.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #ifdef AFS_AIX41_ENV #include "../rx/rx_kcommon.h" diff --git a/src/rx/DARWIN/rx_knet.c b/src/rx/DARWIN/rx_knet.c index dafa3d4e95..d1243968ed 100644 --- a/src/rx/DARWIN/rx_knet.c +++ b/src/rx/DARWIN/rx_knet.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #include "../rx/rx_kcommon.h" int osi_NetReceive(asocket, addr, dvec, nvecs, alength) diff --git a/src/rx/DUX/rx_knet.c b/src/rx/DUX/rx_knet.c index cddd2f406a..3aa2694cbf 100644 --- a/src/rx/DUX/rx_knet.c +++ b/src/rx/DUX/rx_knet.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #ifdef AFS_DUX40_ENV #include "../rx/rx_kcommon.h" diff --git a/src/rx/FBSD/rx_knet.c b/src/rx/FBSD/rx_knet.c index 30ae839a9d..f3838bf4c1 100644 --- a/src/rx/FBSD/rx_knet.c +++ b/src/rx/FBSD/rx_knet.c @@ -21,6 +21,10 @@ */ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #ifdef AFS_FBSD40_ENV #include "../rx/rx_kcommon.h" diff --git a/src/rx/HPUX/rx_knet.c b/src/rx/HPUX/rx_knet.c index 420b7e2258..5b6399e597 100644 --- a/src/rx/HPUX/rx_knet.c +++ b/src/rx/HPUX/rx_knet.c @@ -3,6 +3,10 @@ */ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #include "../h/types.h" #include "../h/param.h" #include "../rx/rx_kcommon.h" diff --git a/src/rx/IRIX/rx_knet.c b/src/rx/IRIX/rx_knet.c index 2bd2f2da4a..051920f18b 100644 --- a/src/rx/IRIX/rx_knet.c +++ b/src/rx/IRIX/rx_knet.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #include "../rx/rx_kcommon.h" #include "../h/tcp-param.h" /* This must be loaded after proc.h to avoid macro collision with a variable*/ diff --git a/src/rx/LINUX/rx_knet.c b/src/rx/LINUX/rx_knet.c index e7307e2be1..cf76820fdc 100644 --- a/src/rx/LINUX/rx_knet.c +++ b/src/rx/LINUX/rx_knet.c @@ -13,6 +13,10 @@ * Linux implementation. */ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #ifdef AFS_LINUX22_ENV #include "../rx/rx_kcommon.h" #if defined(AFS_LINUX24_ENV) diff --git a/src/rx/SOLARIS/rx_knet.c b/src/rx/SOLARIS/rx_knet.c index c732bc9141..bb2004e121 100644 --- a/src/rx/SOLARIS/rx_knet.c +++ b/src/rx/SOLARIS/rx_knet.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #ifdef AFS_SUN5_ENV #include "../rx/rx_kcommon.h" diff --git a/src/rx/UKERNEL/rx_knet.c b/src/rx/UKERNEL/rx_knet.c index 79c440dee4..5e98fdc8f3 100644 --- a/src/rx/UKERNEL/rx_knet.c +++ b/src/rx/UKERNEL/rx_knet.c @@ -8,6 +8,10 @@ */ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #include "../rx/rx_kcommon.h" diff --git a/src/rx/bulk.example/bulk_client.c b/src/rx/bulk.example/bulk_client.c index 30ad74ab6f..9d41b086ad 100644 --- a/src/rx/bulk.example/bulk_client.c +++ b/src/rx/bulk.example/bulk_client.c @@ -9,6 +9,11 @@ /* Sample program using multi_Rx, to execute calls in parallel to multiple hosts */ +#include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/rx/bulk.example/bulk_io.c b/src/rx/bulk.example/bulk_io.c index 13ab7b95cf..0ab11c8555 100644 --- a/src/rx/bulk.example/bulk_io.c +++ b/src/rx/bulk.example/bulk_io.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/rx/bulk.example/bulk_server.c b/src/rx/bulk.example/bulk_server.c index 7faa5b6edc..9e42dfad44 100644 --- a/src/rx/bulk.example/bulk_server.c +++ b/src/rx/bulk.example/bulk_server.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/rx/bulktest/bulk_client.c b/src/rx/bulktest/bulk_client.c index 861924c115..755647eac1 100644 --- a/src/rx/bulktest/bulk_client.c +++ b/src/rx/bulktest/bulk_client.c @@ -9,6 +9,11 @@ /* Sample program using multi_Rx, to execute calls in parallel to multiple hosts */ +#include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/rx/bulktest/bulk_io.c b/src/rx/bulktest/bulk_io.c index 42f472814a..587e73c428 100644 --- a/src/rx/bulktest/bulk_io.c +++ b/src/rx/bulktest/bulk_io.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/rx/bulktest/bulk_server.c b/src/rx/bulktest/bulk_server.c index 21192eed47..dc9c46949b 100644 --- a/src/rx/bulktest/bulk_server.c +++ b/src/rx/bulktest/bulk_server.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/rx/multi.example/sample_client.c b/src/rx/multi.example/sample_client.c index 0f286b0052..ba6e51c78b 100644 --- a/src/rx/multi.example/sample_client.c +++ b/src/rx/multi.example/sample_client.c @@ -9,6 +9,11 @@ /* Sample program using multi_Rx, to execute calls in parallel to multiple hosts */ +#include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/rx/multi.example/sample_server.c b/src/rx/multi.example/sample_server.c index 138838a976..34fad33a01 100644 --- a/src/rx/multi.example/sample_server.c +++ b/src/rx/multi.example/sample_server.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/rx/rx.c b/src/rx/rx.c index 1b2fd0a2d7..c6f41284b8 100644 --- a/src/rx/rx.c +++ b/src/rx/rx.c @@ -11,7 +11,14 @@ #ifdef KERNEL #include "../afs/param.h" +#else +#include +#endif #include + +RCSID("$Header$"); + +#ifdef KERNEL #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" #ifndef UKERNEL @@ -67,8 +74,6 @@ extern afs_int32 afs_termState; #endif /* AFS_AIX41_ENV */ # include "../afsint/rxgen_consts.h" #else /* KERNEL */ -# include -# include # include # include #ifdef AFS_NT40_ENV diff --git a/src/rx/rx_clock.c b/src/rx/rx_clock.c index 5972e20caa..e27c626266 100644 --- a/src/rx/rx_clock.c +++ b/src/rx/rx_clock.c @@ -12,6 +12,14 @@ #ifdef KERNEL #include "../afs/param.h" +#else +#include +#endif +#include + +RCSID("$Header$"); + +#ifdef KERNEL #ifndef UKERNEL #include "../rx/rx_clock.h" #include "../h/types.h" @@ -22,7 +30,6 @@ #include "../rx/rx_clock.h" #endif /* !UKERNEL */ #else /* KERNEL */ -#include #include #include #include diff --git a/src/rx/rx_clock_nt.c b/src/rx/rx_clock_nt.c index d765720a38..5ed8595043 100644 --- a/src/rx/rx_clock_nt.c +++ b/src/rx/rx_clock_nt.c @@ -11,6 +11,10 @@ /* See rx_clock.h for calling conventions */ #include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/rx/rx_conncache.c b/src/rx/rx_conncache.c index 09d2e8adbd..05b2bc56c6 100644 --- a/src/rx/rx_conncache.c +++ b/src/rx/rx_conncache.c @@ -13,11 +13,18 @@ #ifdef UKERNEL #include "../afs/param.h" +#else +#include +#endif +#include + +RCSID("$Header$"); + +#ifdef UKERNEL #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" #include "../rx/rx.h" -#else /* UKERNEL */ -#include +#else /* ! UKERNEL */ #include #include #include diff --git a/src/rx/rx_event.c b/src/rx/rx_event.c index ce580dcbf4..4bcb400637 100644 --- a/src/rx/rx_event.c +++ b/src/rx/rx_event.c @@ -9,6 +9,14 @@ #ifdef KERNEL #include "../afs/param.h" +#else +#include +#endif +#include + +RCSID("$Header$"); + +#ifdef KERNEL #ifndef UKERNEL #include "../afs/afs_osi.h" #else /* !UKERNEL */ @@ -34,7 +42,6 @@ extern void *osi_Alloc(); #endif #else /* KERNEL */ -#include "afs/param.h" #include #include "rx_clock.h" #include "rx_queue.h" diff --git a/src/rx/rx_getaddr.c b/src/rx/rx_getaddr.c index 5e02a0af30..4827403b13 100644 --- a/src/rx/rx_getaddr.c +++ b/src/rx/rx_getaddr.c @@ -7,12 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ - -#ifndef lint -#endif -/* getaddr -- get our internet address. July, 1986 */ - #include +#include + +RCSID("$Header$"); + #ifndef AFS_DJGPP_ENV #ifndef KERNEL #ifndef AFS_NT40_ENV diff --git a/src/rx/rx_globals.c b/src/rx/rx_globals.c index eb89077ef4..6f1a97edd9 100644 --- a/src/rx/rx_globals.c +++ b/src/rx/rx_globals.c @@ -9,6 +9,15 @@ /* RX: Globals for internal use, basically */ +#ifdef KERNEL +#include "../afs/param.h" +#else +#include +#endif +#include + +RCSID("$Header$"); + /* Enable data initialization when the header file is included */ #define INIT(stuff) = stuff #if defined(AFS_NT40_ENV) && defined(AFS_PTHREAD_ENV) @@ -18,14 +27,11 @@ #endif #ifdef KERNEL -#include "../afs/param.h" #ifndef UKERNEL #include "../h/types.h" #else /* !UKERNEL */ #include "../afs/sysincludes.h" -#endif /* !UKERNEL */ -#else /* KERNEL */ -#include +#endif /* UKERNEL */ #endif /* KERNEL */ #include "rx_globals.h" diff --git a/src/rx/rx_kcommon.c b/src/rx/rx_kcommon.c index 73a140e7c2..df521f1869 100644 --- a/src/rx/rx_kcommon.c +++ b/src/rx/rx_kcommon.c @@ -12,6 +12,10 @@ */ #include "../afs/param.h" +#include + +RCSID("$Header$"); + #include "../rx/rx_kcommon.h" #ifdef AFS_HPUX110_ENV diff --git a/src/rx/rx_lwp.c b/src/rx/rx_lwp.c index f018c10f90..5f9492a636 100644 --- a/src/rx/rx_lwp.c +++ b/src/rx/rx_lwp.c @@ -10,6 +10,10 @@ /* rx_user.c contains routines specific to the user space UNIX implementation of rx */ # include +#include + +RCSID("$Header$"); + # include /* fd_set on older platforms */ # include # include diff --git a/src/rx/rx_misc.c b/src/rx/rx_misc.c index 555c549bb6..337e2edd36 100644 --- a/src/rx/rx_misc.c +++ b/src/rx/rx_misc.c @@ -9,6 +9,9 @@ #include #include + +RCSID("$Header$"); + #ifdef KERNEL #include #include diff --git a/src/rx/rx_multi.c b/src/rx/rx_multi.c index 97cec14ae6..14852ed6d1 100644 --- a/src/rx/rx_multi.c +++ b/src/rx/rx_multi.c @@ -8,6 +8,9 @@ */ #include +#include + +RCSID("$Header$"); #ifdef KERNEL #include "../rx/rx_kernel.h" diff --git a/src/rx/rx_null.c b/src/rx/rx_null.c index 20a88409ea..2523f833d3 100644 --- a/src/rx/rx_null.c +++ b/src/rx/rx_null.c @@ -9,6 +9,14 @@ #ifdef KERNEL #include "afs/param.h" +#else +#include +#endif +#include + +RCSID("$Header$"); + +#ifdef KERNEL #ifndef UKERNEL #include "../h/types.h" #else /* !UKERNEL */ @@ -16,7 +24,6 @@ #endif /* !UKERNEL */ #include "../rx/rx.h" #else /* KERNEL */ -#include #include "rx.h" #endif /* KERNEL */ diff --git a/src/rx/rx_packet.c b/src/rx/rx_packet.c index 30323847a6..1fddce492a 100644 --- a/src/rx/rx_packet.c +++ b/src/rx/rx_packet.c @@ -9,7 +9,14 @@ #ifdef KERNEL #include "../afs/param.h" +#else +#include +#endif #include + +RCSID("$Header$"); + +#ifdef KERNEL #if defined(UKERNEL) #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" @@ -44,8 +51,6 @@ #endif /* defined(UKERNEL) */ #include "../rx/rx_globals.h" #else /* KERNEL */ -#include -#include #include "sys/types.h" #include #include diff --git a/src/rx/rx_pthread.c b/src/rx/rx_pthread.c index da567a8410..78a79296ed 100644 --- a/src/rx/rx_pthread.c +++ b/src/rx/rx_pthread.c @@ -15,10 +15,14 @@ * rx_pthread.c is used for the thread safe RX package. */ -# include -# include -# include -# include +#include +#include + +RCSID("$Header$"); + +#include +#include +#include #ifndef AFS_NT40_ENV # include # include @@ -28,11 +32,11 @@ # include # include #endif -# include -# include -# include -# include -# include +#include +#include +#include +#include +#include /* * Number of times the event handling thread was signalled because a new diff --git a/src/rx/rx_rdwr.c b/src/rx/rx_rdwr.c index e3d68e4e8c..d3e43fae51 100644 --- a/src/rx/rx_rdwr.c +++ b/src/rx/rx_rdwr.c @@ -7,9 +7,16 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifdef KERNEL +#ifdef KERNEL #include "../afs/param.h" +#else +#include +#endif #include + +RCSID("$Header$"); + +#ifdef KERNEL #ifndef UKERNEL #if defined(AFS_DARWIN_ENV) || defined(AFS_FBSD_ENV) #include "../afs/sysincludes.h" @@ -56,8 +63,6 @@ #undef register #endif /* AFS_ALPHA_ENV */ #else /* KERNEL */ -# include -# include # include #ifndef AFS_NT40_ENV # include diff --git a/src/rx/rx_stream.c b/src/rx/rx_stream.c index 5676eb3907..2d3603eb89 100644 --- a/src/rx/rx_stream.c +++ b/src/rx/rx_stream.c @@ -11,6 +11,15 @@ This file is now obsolete. +#ifdef KERNEL +#include "../afs/param.h" +#else +#include +#endif +#include + +RCSID("$Header$"); + #ifdef KERNEL #include "../h/types.h" #include "../h/uio.h" diff --git a/src/rx/rx_trace.c b/src/rx/rx_trace.c index 888bb50989..f68f271e53 100644 --- a/src/rx/rx_trace.c +++ b/src/rx/rx_trace.c @@ -7,10 +7,12 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifdef RXDEBUG - #include #include + +RCSID("$Header$"); + +#ifdef RXDEBUG #ifdef HAVE_STRINGS_H #include #else diff --git a/src/rx/rx_user.c b/src/rx/rx_user.c index 490568d8ec..1d75df4804 100644 --- a/src/rx/rx_user.c +++ b/src/rx/rx_user.c @@ -9,8 +9,11 @@ /* rx_user.c contains routines specific to the user space UNIX implementation of rx */ -# include -# include +#include +#include + +RCSID("$Header$"); + # include # include # include diff --git a/src/rx/rx_xmit_nt.c b/src/rx/rx_xmit_nt.c index 957477b7c2..1c3bc3f01a 100644 --- a/src/rx/rx_xmit_nt.c +++ b/src/rx/rx_xmit_nt.c @@ -15,6 +15,10 @@ */ #include +#include + +RCSID("$Header$"); + #if defined(AFS_NT40_ENV) || defined(AFS_DJGPP_ENV) #ifdef AFS_NT40_ENV diff --git a/src/rx/rxdebug.c b/src/rx/rxdebug.c index 6db38b7253..e1d3098fd4 100644 --- a/src/rx/rxdebug.c +++ b/src/rx/rxdebug.c @@ -7,9 +7,12 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#include #include #include + +RCSID("$Header$"); + +#include #include #ifdef AFS_NT40_ENV #include diff --git a/src/rx/simple.example/sample_client.c b/src/rx/simple.example/sample_client.c index c6be265d59..d8cfa93010 100644 --- a/src/rx/simple.example/sample_client.c +++ b/src/rx/simple.example/sample_client.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/rx/simple.example/sample_server.c b/src/rx/simple.example/sample_server.c index 6e7540cb8e..c3c06cb4d6 100644 --- a/src/rx/simple.example/sample_server.c +++ b/src/rx/simple.example/sample_server.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/rx/test/generator.c b/src/rx/test/generator.c index 7a7154fcfd..d7cac929ea 100644 --- a/src/rx/test/generator.c +++ b/src/rx/test/generator.c @@ -49,6 +49,11 @@ * */ +#include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/rx/test/kctest.c b/src/rx/test/kctest.c index 8ea05545b5..9a08dd476e 100644 --- a/src/rx/test/kctest.c +++ b/src/rx/test/kctest.c @@ -8,6 +8,10 @@ */ #include "afs/param.h" +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/rx/test/kstest.c b/src/rx/test/kstest.c index 8e3bc8f953..c9922fa250 100644 --- a/src/rx/test/kstest.c +++ b/src/rx/test/kstest.c @@ -8,6 +8,10 @@ */ #include "afs/param.h" +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/rx/test/tableGen.c b/src/rx/test/tableGen.c index 7f0974bbf1..9abb4c2b6f 100644 --- a/src/rx/test/tableGen.c +++ b/src/rx/test/tableGen.c @@ -16,6 +16,11 @@ * a change in generator.c */ +#include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/rx/test/testclient.c b/src/rx/test/testclient.c index aa993d6e86..27f38b5510 100644 --- a/src/rx/test/testclient.c +++ b/src/rx/test/testclient.c @@ -10,6 +10,10 @@ /* Client test program */ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_NT40_ENV diff --git a/src/rx/test/testqueue.c b/src/rx/test/testqueue.c index f094ed3cea..280d02e2e7 100644 --- a/src/rx/test/testqueue.c +++ b/src/rx/test/testqueue.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include struct myq { diff --git a/src/rx/test/testserver.c b/src/rx/test/testserver.c index 2d8235dce8..d5ed18d2f9 100644 --- a/src/rx/test/testserver.c +++ b/src/rx/test/testserver.c @@ -10,6 +10,10 @@ /* Server test program */ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_NT40_ENV diff --git a/src/rx/xdr.c b/src/rx/xdr.c index 44d6421d6d..c98aafec81 100644 --- a/src/rx/xdr.c +++ b/src/rx/xdr.c @@ -26,10 +26,15 @@ * 2550 Garcia Avenue * Mountain View, California 94043 */ -#ifndef NeXT -#ifndef lint -static char sccsid[] = "@(#)xdr.c 1.1 86/02/03 Copyr 1984 Sun Micro"; + +#ifdef KERNEL +#include "../afs/param.h" +#else +#include #endif +#include + +RCSID("$Header$"); /* * xdr.c, Generic XDR routines implementation. @@ -41,8 +46,9 @@ static char sccsid[] = "@(#)xdr.c 1.1 86/02/03 Copyr 1984 Sun Micro"; * xdr. */ +#ifndef NeXT + #ifdef KERNEL -#include "../afs/param.h" #include #ifndef AFS_LINUX20_ENV #include diff --git a/src/rx/xdr_afsuuid.c b/src/rx/xdr_afsuuid.c index 4cb251a7e3..a523b0d5f9 100644 --- a/src/rx/xdr_afsuuid.c +++ b/src/rx/xdr_afsuuid.c @@ -11,8 +11,12 @@ * xdr_afsuuid.c, XDR routine for built in afsUUID data type. */ -#if defined(KERNEL) && !defined(UKERNEL) #include "afs/param.h" +#include + +RCSID("$Header$"); + +#if defined(KERNEL) && !defined(UKERNEL) #ifdef AFS_LINUX20_ENV #include "../h/string.h" #define bzero(A,C) memset((A), 0, (C)) @@ -30,10 +34,6 @@ #endif #endif -#ifndef lint -static char sccsid[] = "@(#)xdr_array.c 1.1 86/02/03 Copyr 1984 Sun Micro"; -#endif - int xdr_afsUUID(xdrs, objp) XDR *xdrs; diff --git a/src/rx/xdr_array.c b/src/rx/xdr_array.c index 2d5bb9efca..7fb17de22a 100644 --- a/src/rx/xdr_array.c +++ b/src/rx/xdr_array.c @@ -27,10 +27,11 @@ * Mountain View, California 94043 */ #include +#include + +RCSID("$Header$"); + #ifndef NeXT -#ifndef lint -static char sccsid[] = "@(#)xdr_array.c 1.1 86/02/03 Copyr 1984 Sun Micro"; -#endif /* * xdr_array.c, Generic XDR routines impelmentation. diff --git a/src/rx/xdr_arrayn.c b/src/rx/xdr_arrayn.c index a9c17510b9..930fa9ecde 100644 --- a/src/rx/xdr_arrayn.c +++ b/src/rx/xdr_arrayn.c @@ -27,10 +27,11 @@ * Mountain View, California 94043 */ #include +#include + +RCSID("$Header$"); + #if !defined(NeXT) -#ifndef lint -static char sccsid[] = "@(#)xdr_array.c 1.1 86/02/03 Copyr 1984 Sun Micro"; -#endif /* * xdr_array.c, Generic XDR routines impelmentation. diff --git a/src/rx/xdr_float.c b/src/rx/xdr_float.c index bc8c13d50d..da64aaa562 100644 --- a/src/rx/xdr_float.c +++ b/src/rx/xdr_float.c @@ -26,10 +26,12 @@ * 2550 Garcia Avenue * Mountain View, California 94043 */ +#include +#include + +RCSID("$Header$"); + #ifndef NeXT -#ifndef lint -static char sccsid[] = "@(#)xdr_float.c 1.1 86/02/03 Copyr 1984 Sun Micro"; -#endif /* * xdr_float.c, Generic XDR routines impelmentation. diff --git a/src/rx/xdr_int64.c b/src/rx/xdr_int64.c index 62c40c906b..27317db863 100644 --- a/src/rx/xdr_int64.c +++ b/src/rx/xdr_int64.c @@ -3,8 +3,12 @@ * XDR routine for int64 (long long or struct) */ +#include +#include + +RCSID("$Header$"); + #if defined(KERNEL) && !defined(UKERNEL) -#include "afs/param.h" #ifdef AFS_LINUX20_ENV #include "../h/string.h" #define bzero(A,C) memset((A), 0, (C)) @@ -22,10 +26,6 @@ #endif #endif -#ifndef lint -static char sccsid[] = "@(#)xdr_array.c 1.1 86/02/03 Copyr 1984 Sun Micro"; -#endif - #ifdef AFS_64BIT_ENV /* * XDR afs_int64 integers diff --git a/src/rx/xdr_mem.c b/src/rx/xdr_mem.c index 54d8cb6687..d8a138fc97 100644 --- a/src/rx/xdr_mem.c +++ b/src/rx/xdr_mem.c @@ -26,10 +26,12 @@ * 2550 Garcia Avenue * Mountain View, California 94043 */ +#include +#include + +RCSID("$Header$"); + #ifndef NeXT -#ifndef lint -static char sccsid[] = "@(#)xdr_mem.c 1.1 86/02/03 Copyr 1984 Sun Micro"; -#endif /* * xdr_mem.h, XDR implementation using memory buffers. diff --git a/src/rx/xdr_rec.c b/src/rx/xdr_rec.c index 32aa256ea8..fc1c5e6ea7 100644 --- a/src/rx/xdr_rec.c +++ b/src/rx/xdr_rec.c @@ -26,9 +26,6 @@ * Mountain View, California 94043 */ #ifndef NeXT -#ifndef lint -static char sccsid[] = "@(#)xdr_rec.c 1.1 86/02/03 Copyr 1984 Sun Micro"; -#endif /* * xdr_rec.c, Implements TCP/IP based XDR streams with a "record marking" * layer above tcp (for rpc's use). @@ -47,6 +44,10 @@ static char sccsid[] = "@(#)xdr_rec.c 1.1 86/02/03 Copyr 1984 Sun Micro"; */ #include +#include + +RCSID("$Header$"); + #include #include "xdr.h" #ifndef AFS_NT40_ENV diff --git a/src/rx/xdr_refernce.c b/src/rx/xdr_refernce.c index 4a064067e6..a4da729a47 100644 --- a/src/rx/xdr_refernce.c +++ b/src/rx/xdr_refernce.c @@ -26,10 +26,12 @@ * 2550 Garcia Avenue * Mountain View, California 94043 */ +#include +#include + +RCSID("$Header$"); + #ifndef NeXT -#ifndef lint -static char sccsid[] = "@(#)xdr_reference.c 1.1 86/02/03 Copyr 1984 Sun Micro"; -#endif /* * xdr_reference.c, Generic XDR routines impelmentation. diff --git a/src/rx/xdr_rx.c b/src/rx/xdr_rx.c index 0975c9b54c..d4942f7474 100644 --- a/src/rx/xdr_rx.c +++ b/src/rx/xdr_rx.c @@ -13,6 +13,14 @@ #ifdef KERNEL #include "../afs/param.h" +#else +#include +#endif +#include + +RCSID("$Header$"); + +#ifdef KERNEL #ifndef UKERNEL #include "../h/types.h" #include "../h/uio.h" @@ -49,7 +57,6 @@ #include "../afs/longc_procs.h" #else /* KERNEL */ -#include "afs/param.h" #include #include #ifndef AFS_NT40_ENV diff --git a/src/rx/xdr_stdio.c b/src/rx/xdr_stdio.c index 4e5c9e5503..7537f273c7 100644 --- a/src/rx/xdr_stdio.c +++ b/src/rx/xdr_stdio.c @@ -26,10 +26,12 @@ * 2550 Garcia Avenue * Mountain View, California 94043 */ +#include +#include + +RCSID("$Header$"); + #ifndef NeXT -#ifndef lint -static char sccsid[] = "@(#)xdr_stdio.c 1.1 86/02/03 Copyr 1984 Sun Micro"; -#endif /* * xdr_stdio.c, XDR implementation on standard i/o file. diff --git a/src/rx/xdr_update.c b/src/rx/xdr_update.c index 2c70654422..4c8b13b6a8 100644 --- a/src/rx/xdr_update.c +++ b/src/rx/xdr_update.c @@ -7,6 +7,10 @@ * */ #include +#include + +RCSID("$Header$"); + #ifndef NeXT #include "xdr.h" diff --git a/src/rxgen/rpc_clntout.c b/src/rxgen/rpc_clntout.c index 01394d916b..2addf4ba0c 100644 --- a/src/rxgen/rpc_clntout.c +++ b/src/rxgen/rpc_clntout.c @@ -34,13 +34,14 @@ */ #include #include + +RCSID("$Header$"); + #include #include #include "rpc_parse.h" #include "rpc_util.h" -RCSID("$Header$"); - #define DEFAULT_TIMEOUT 25 /* in seconds */ static write_program(); diff --git a/src/rxgen/rpc_cout.c b/src/rxgen/rpc_cout.c index 8bdcf62088..160be58408 100644 --- a/src/rxgen/rpc_cout.c +++ b/src/rxgen/rpc_cout.c @@ -34,6 +34,9 @@ */ #include #include + +RCSID("$Header$"); + #include #include #ifdef HAVE_STRINGS_H @@ -46,8 +49,6 @@ #include "rpc_util.h" #include "rpc_parse.h" -RCSID("$Header$"); - static print_header(); static print_trailer(); static space(); diff --git a/src/rxgen/rpc_hout.c b/src/rxgen/rpc_hout.c index 8c21bce219..d4b896ff48 100644 --- a/src/rxgen/rpc_hout.c +++ b/src/rxgen/rpc_hout.c @@ -34,13 +34,14 @@ */ #include #include + +RCSID("$Header$"); + #include #include #include "rpc_util.h" #include "rpc_parse.h" -RCSID("$Header$"); - static pconstdef(); static pstructdef(); static puniondef(); diff --git a/src/rxgen/rpc_main.c b/src/rxgen/rpc_main.c index b1b3620afe..057fa8bdd3 100644 --- a/src/rxgen/rpc_main.c +++ b/src/rxgen/rpc_main.c @@ -35,6 +35,9 @@ #include #include + +RCSID("$Header$"); + #include #include #include @@ -56,8 +59,6 @@ #include "rpc_parse.h" #include "rpc_scan.h" -RCSID("$Header$"); - #define EXTEND 1 /* alias for TRUE */ struct commandline { diff --git a/src/rxgen/rpc_parse.c b/src/rxgen/rpc_parse.c index 8ae4bdca5b..197605e885 100644 --- a/src/rxgen/rpc_parse.c +++ b/src/rxgen/rpc_parse.c @@ -34,6 +34,9 @@ */ #include #include + +RCSID("$Header$"); + #include #include #include @@ -48,8 +51,6 @@ #include "rpc_scan.h" #include "rpc_parse.h" -RCSID("$Header$"); - list *proc_defined[MAX_PACKAGES], *special_defined, *typedef_defined, *uniondef_defined; char *SplitStart = NULL; char *SplitEnd = NULL; diff --git a/src/rxgen/rpc_scan.c b/src/rxgen/rpc_scan.c index 979079aa62..34fa823f9a 100644 --- a/src/rxgen/rpc_scan.c +++ b/src/rxgen/rpc_scan.c @@ -34,6 +34,9 @@ */ #include #include + +RCSID("$Header$"); + #include #include #include @@ -47,8 +50,6 @@ #include "rpc_scan.h" #include "rpc_util.h" -RCSID("$Header$"); - #define startcomment(where) (where[0] == '/' && where[1] == '*') #define endcomment(where) (where[-1] == '*' && where[0] == '/') #define verbatimstart(p) (*(p) == '@' && *((p) + 1) == '{') diff --git a/src/rxgen/rpc_svcout.c b/src/rxgen/rpc_svcout.c index ef0794597d..afe51347a7 100644 --- a/src/rxgen/rpc_svcout.c +++ b/src/rxgen/rpc_svcout.c @@ -34,6 +34,9 @@ */ #include #include + +RCSID("$Header$"); + #include #ifdef HAVE_STRINGS_H #include @@ -45,8 +48,6 @@ #include "rpc_parse.h" #include "rpc_util.h" -RCSID("$Header$"); - static char RQSTP[] = "rqstp"; static char TRANSP[] = "transp"; static char ARG[] = "argument"; diff --git a/src/rxgen/rpc_util.c b/src/rxgen/rpc_util.c index 807ccbdfee..53b3c86920 100644 --- a/src/rxgen/rpc_util.c +++ b/src/rxgen/rpc_util.c @@ -34,6 +34,9 @@ */ #include #include + +RCSID("$Header$"); + #include #ifdef HAVE_STRINGS_H #include @@ -46,8 +49,6 @@ #include "rpc_parse.h" #include "rpc_util.h" -RCSID("$Header$"); - char curline[MAXLINESIZE]; /* current read line */ char *where = curline; /* current point in line */ int linenum = 0; /* current line number */ diff --git a/src/rxkad/domestic/crypt_conn.c b/src/rxkad/domestic/crypt_conn.c index 1bd7cb7d3f..06c45b9ed3 100644 --- a/src/rxkad/domestic/crypt_conn.c +++ b/src/rxkad/domestic/crypt_conn.c @@ -12,8 +12,15 @@ #ifdef KERNEL - #include "../afs/param.h" +#else +#include +#endif +#include + +RCSID("$Header$"); + +#ifdef KERNEL #include "../afs/stds.h" #ifndef UKERNEL #include "../h/types.h" @@ -23,10 +30,7 @@ #include "../afs/sysincludes.h" #include "../rx/rx.h" #endif /* !UKERNEL */ - -#else /* KERNEL */ - -#include +#else /* !KERNEL */ #include #include #include diff --git a/src/rxkad/domestic/fcrypt.c b/src/rxkad/domestic/fcrypt.c index a07a10081a..580e4135a4 100644 --- a/src/rxkad/domestic/fcrypt.c +++ b/src/rxkad/domestic/fcrypt.c @@ -11,10 +11,18 @@ * scatter/gather vectors. */ -#define DEBUG 0 #ifdef KERNEL #include "../afs/param.h" +#else +#include +#endif +#include + +RCSID("$Header$"); + +#define DEBUG 0 +#ifdef KERNEL #ifndef UKERNEL #include "../afs/stds.h" #include "../h/types.h" @@ -33,7 +41,6 @@ #else /* KERNEL */ -#include #include #include #ifdef AFS_NT40_ENV diff --git a/src/rxkad/domestic/tcrypt.c b/src/rxkad/domestic/tcrypt.c index c7e4d37415..c1a83f3240 100644 --- a/src/rxkad/domestic/tcrypt.c +++ b/src/rxkad/domestic/tcrypt.c @@ -7,16 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -/* - * Revision 2.2 90/08/20 10:19:23 - * Cleanup. - * Remove dependence on auth.h - * - * Revision 2.1 90/08/07 19:33:42 - * Start with clean version to sync test and dev trees. - * */ - #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/rxkad/rxkad_client.c b/src/rxkad/rxkad_client.c index 19bae16122..4f314e43a8 100644 --- a/src/rxkad/rxkad_client.c +++ b/src/rxkad/rxkad_client.c @@ -12,8 +12,15 @@ * make any use of DES. */ #ifdef KERNEL - #include "../afs/param.h" +#else +#include +#endif +#include + +RCSID("$Header$"); + +#ifdef KERNEL #include "../afs/stds.h" #ifndef UKERNEL #include "../h/types.h" @@ -30,9 +37,7 @@ #include "../rpc/xdr.h" #endif #include "../rx/rx.h" -#else /* KERNEL */ - -#include +#else /* ! KERNEL */ #include #include #include @@ -46,7 +51,6 @@ #ifdef AFS_PTHREAD_ENV #include "../rxkad/rxkad.h" #endif /* AFS_PTHREAD_ENV */ - #endif /* KERNEL */ #include "private_data.h" diff --git a/src/rxkad/rxkad_common.c b/src/rxkad/rxkad_common.c index 8e00127098..8a40345f05 100644 --- a/src/rxkad/rxkad_common.c +++ b/src/rxkad/rxkad_common.c @@ -11,6 +11,14 @@ #ifdef KERNEL #include "../afs/param.h" +#else +#include +#endif +#include + +RCSID("$Header$"); + +#ifdef KERNEL #ifndef UKERNEL #include "../afs/stds.h" #include "../afs/afs_osi.h" @@ -30,7 +38,6 @@ #include "../rx/rx.h" #else /* KERNEL */ -#include #include #include #include diff --git a/src/rxkad/rxkad_server.c b/src/rxkad/rxkad_server.c index add3e7b03e..09a1aae2f7 100644 --- a/src/rxkad/rxkad_server.c +++ b/src/rxkad/rxkad_server.c @@ -12,6 +12,10 @@ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/rxkad/test/stress.c b/src/rxkad/test/stress.c index 231b95b9a3..c65795c83f 100644 --- a/src/rxkad/test/stress.c +++ b/src/rxkad/test/stress.c @@ -10,6 +10,10 @@ /* RX Authentication Stress test: server side code. */ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_NT40_ENV diff --git a/src/rxkad/test/stress_c.c b/src/rxkad/test/stress_c.c index 85bcf7af4c..da6bb5a0ab 100644 --- a/src/rxkad/test/stress_c.c +++ b/src/rxkad/test/stress_c.c @@ -10,6 +10,10 @@ /* RX Authentication Stress test: client side code. */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/rxkad/test/stress_s.c b/src/rxkad/test/stress_s.c index f6db82720a..33d85919b1 100644 --- a/src/rxkad/test/stress_s.c +++ b/src/rxkad/test/stress_s.c @@ -10,6 +10,10 @@ /* RX Authentication Stress test: server side code. */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/rxkad/ticket.c b/src/rxkad/ticket.c index d0b14ddd20..b277a93b51 100644 --- a/src/rxkad/ticket.c +++ b/src/rxkad/ticket.c @@ -9,6 +9,14 @@ #if defined(UKERNEL) #include "../afs/param.h" +#else +#include +#endif +#include + +RCSID("$Header$"); + +#if defined(UKERNEL) #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" #include "../afs/stds.h" @@ -18,7 +26,6 @@ #include "../afs/lifetimes.h" #include "../afs/rxkad.h" #else /* defined(UKERNEL) */ -#include #include #include #ifdef AFS_NT40_ENV diff --git a/src/rxstat/Makefile b/src/rxstat/Makefile index 5acf36db4b..272ecc3ecb 100644 --- a/src/rxstat/Makefile +++ b/src/rxstat/Makefile @@ -16,7 +16,7 @@ MKDIR_IF_NEEDED=[ -d $$1 ] || mkdir -p $$1 KSRCS=rxstat.c rxstat.h Krxstat.ss.c Krxstat.xdr.c -CFLAGS = $(DBUG) -I${SRCDIR}include ${XCFLAGS} +CFLAGS = $(DBUG) -I${TOP_SRCDIR}/config -I${SRCDIR}include ${XCFLAGS} LIBOBJS = rxstat.cs.o rxstat.ss.o rxstat.xdr.o rxstat.o diff --git a/src/rxstat/rxstat.c b/src/rxstat/rxstat.c index b35b61f60f..343fb0e31c 100644 --- a/src/rxstat/rxstat.c +++ b/src/rxstat/rxstat.c @@ -9,6 +9,14 @@ #ifdef UKERNEL #include "../afs/param.h" +#else +#include +#endif +#include + +RCSID("$Header$"); + +#ifdef UKERNEL #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" #include "rxstat.h" diff --git a/src/scout/Makefile b/src/scout/Makefile index 83006ed528..0f567a0d8a 100644 --- a/src/scout/Makefile +++ b/src/scout/Makefile @@ -11,6 +11,7 @@ COMPONENT=scout include ../config/Makefile.${SYS_NAME} CFLAGS= ${DBUG} -I. \ + -I${TOP_SRCDIR}/config \ -I${SRCDIR}include \ -I${SRCDIR}include/afs \ -I${SRCDIR} ${XCFLAGS} diff --git a/src/scout/scout.c b/src/scout/scout.c index 497c751b13..79f0324b1f 100644 --- a/src/scout/scout.c +++ b/src/scout/scout.c @@ -12,6 +12,10 @@ *------------------------------------------------------------------------*/ #include +#include + +RCSID("$Header$"); + #undef IN #ifdef AFS_AIX32_ENV #include diff --git a/src/sgistuff/Makefile b/src/sgistuff/Makefile index 24b71711d7..3497313c6e 100644 --- a/src/sgistuff/Makefile +++ b/src/sgistuff/Makefile @@ -14,7 +14,7 @@ SHELL=/bin/sh # include ../config/Makefile.${SYS_NAME} OPTIMIZE=-g -CFLAGS = ${OPTIMIZE} -I${SRCDIR}include ${XCFLAGS} +CFLAGS = ${OPTIMIZE} -I${TOP_SRCDIR}/config -I${SRCDIR}include ${XCFLAGS} LDFLAGS = ${OPTIMIZE} ${XLDFLAGS} LIBDIR = ${DESTDIR}lib/ AFSLIBS = ${LIBDIR}afs/libkauth.a ${LIBDIR}afs/libprot.a ${LIBDIR}libubik.a \ diff --git a/src/sgistuff/sgi_auth.c b/src/sgistuff/sgi_auth.c index fee2e8c204..9b7f95993e 100644 --- a/src/sgistuff/sgi_auth.c +++ b/src/sgistuff/sgi_auth.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #if defined(AFS_SGI_ENV) #include diff --git a/src/sia/siad.c b/src/sia/siad.c index 420b79d27a..3e1d4d6fae 100644 --- a/src/sia/siad.c +++ b/src/sia/siad.c @@ -12,6 +12,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/sia/test-reauth.c b/src/sia/test-reauth.c index 6c5ae53646..b65774fcfc 100644 --- a/src/sia/test-reauth.c +++ b/src/sia/test-reauth.c @@ -10,6 +10,10 @@ /* test-reauth.c - test SIA reauthorization code. */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/sys/afssyscalls.c b/src/sys/afssyscalls.c index 6b6a45a510..18615b215c 100644 --- a/src/sys/afssyscalls.c +++ b/src/sys/afssyscalls.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/sys/afssyscalls.h b/src/sys/afssyscalls.h index 7ad63324c6..5a6b3b289a 100644 --- a/src/sys/afssyscalls.h +++ b/src/sys/afssyscalls.h @@ -12,9 +12,6 @@ #ifndef AFS_NT40_ENV -#ifndef lint -#endif - /* Declare Inode type. */ #ifdef AFS_64BIT_IOPS_ENV #ifdef AFS_SGI62_ENV diff --git a/src/sys/fixit.c b/src/sys/fixit.c index be49433d5b..85113f567f 100644 --- a/src/sys/fixit.c +++ b/src/sys/fixit.c @@ -30,6 +30,10 @@ to the free list when the files are removed from lost+found */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/sys/icreate.c b/src/sys/icreate.c index 3278e752d6..3f5a63291b 100644 --- a/src/sys/icreate.c +++ b/src/sys/icreate.c @@ -7,13 +7,15 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif #include #include #include #include #include +#include + +RCSID("$Header$"); + #include "AFS_component_version_number.c" diff --git a/src/sys/idec.c b/src/sys/idec.c index 6de84c2a45..78ece3878c 100644 --- a/src/sys/idec.c +++ b/src/sys/idec.c @@ -7,9 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/sys/iinc.c b/src/sys/iinc.c index 07363268c1..e20aa04844 100644 --- a/src/sys/iinc.c +++ b/src/sys/iinc.c @@ -7,9 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/sys/iopen.c b/src/sys/iopen.c index 9e316f73b5..d87aa22672 100644 --- a/src/sys/iopen.c +++ b/src/sys/iopen.c @@ -7,10 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif -#include #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/sys/iread.c b/src/sys/iread.c index fec23044a2..b6156a4df6 100644 --- a/src/sys/iread.c +++ b/src/sys/iread.c @@ -7,8 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif +#include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/sys/istat.c b/src/sys/istat.c index 7abefdcc3b..39a82ac411 100644 --- a/src/sys/istat.c +++ b/src/sys/istat.c @@ -7,9 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/sys/iwrite.c b/src/sys/iwrite.c index 9830fcb29f..243536775b 100644 --- a/src/sys/iwrite.c +++ b/src/sys/iwrite.c @@ -7,8 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif +#include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/sys/pagsh.c b/src/sys/pagsh.c index 75a7742330..f79904db1c 100644 --- a/src/sys/pagsh.c +++ b/src/sys/pagsh.c @@ -9,6 +9,9 @@ #include #include + +RCSID("$Header$"); + #ifdef AFS_AIX32_ENV #include #endif diff --git a/src/sys/pioctl_nt.c b/src/sys/pioctl_nt.c index 8be9093b9e..dfca3cebf8 100644 --- a/src/sys/pioctl_nt.c +++ b/src/sys/pioctl_nt.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/sys/pioctl_nt.h b/src/sys/pioctl_nt.h index 469c42ff14..040cb1585f 100644 --- a/src/sys/pioctl_nt.h +++ b/src/sys/pioctl_nt.h @@ -10,7 +10,6 @@ #ifndef TRANSARC_AFS_PIOCTL_H #define TRANSARC_AFS_PIOCTL_H -#include /* define the basic DeviceIoControl structure for communicating with the * cache manager. */ diff --git a/src/sys/rmtsysc.c b/src/sys/rmtsysc.c index 341624293b..72b46ccdcb 100644 --- a/src/sys/rmtsysc.c +++ b/src/sys/rmtsysc.c @@ -14,6 +14,9 @@ */ #include #include + +RCSID("$Header$"); + #include #include #include diff --git a/src/sys/rmtsysd.c b/src/sys/rmtsysd.c index 92c74a83c2..599ee48b61 100644 --- a/src/sys/rmtsysd.c +++ b/src/sys/rmtsysd.c @@ -14,6 +14,10 @@ * afsd. */ #include +#include + +RCSID("$Header$"); + #ifdef AFS_AIX32_ENV #include #endif diff --git a/src/sys/rmtsysnet.c b/src/sys/rmtsysnet.c index 9f355f2008..55a6cc7d2c 100644 --- a/src/sys/rmtsysnet.c +++ b/src/sys/rmtsysnet.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/sys/rmtsyss.c b/src/sys/rmtsyss.c index 2d47b054c0..ac329eb65b 100644 --- a/src/sys/rmtsyss.c +++ b/src/sys/rmtsyss.c @@ -14,6 +14,9 @@ */ #include #include + +RCSID("$Header$"); + #include #include #include diff --git a/src/tbutc/Makefile b/src/tbutc/Makefile index dfd2516c75..e26124c80d 100644 --- a/src/tbutc/Makefile +++ b/src/tbutc/Makefile @@ -15,7 +15,7 @@ COMPONENT=tbutc include ../config/Makefile.${SYS_NAME} CC =${MT_CC} -CFLAGS = ${DBG} -w ${MT_CFLAGS} +CFLAGS = ${DBG} -w -I${TOP_SRCDIR}/config ${MT_CFLAGS} LDFLAGS = ${DBG} ${XLDFLAGS} diff --git a/src/tsm41/aix41_auth.c b/src/tsm41/aix41_auth.c index 02dee7c268..d721563b81 100644 --- a/src/tsm41/aix41_auth.c +++ b/src/tsm41/aix41_auth.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #if defined(AFS_AIX41_ENV) #include #include diff --git a/src/ubik/beacon.c b/src/ubik/beacon.c index c43ab330da..a9b254dd89 100644 --- a/src/ubik/beacon.c +++ b/src/ubik/beacon.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/ubik/disk.c b/src/ubik/disk.c index 379616bbe0..ff6fc1262f 100644 --- a/src/ubik/disk.c +++ b/src/ubik/disk.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/ubik/lock.c b/src/ubik/lock.c index a81150ceed..374a53af45 100644 --- a/src/ubik/lock.c +++ b/src/ubik/lock.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifndef AFS_NT40_ENV #include diff --git a/src/ubik/phys.c b/src/ubik/phys.c index 460af189d4..f973de92f7 100644 --- a/src/ubik/phys.c +++ b/src/ubik/phys.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/ubik/recovery.c b/src/ubik/recovery.c index 6de9dccecb..2e98751ce5 100644 --- a/src/ubik/recovery.c +++ b/src/ubik/recovery.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/ubik/remote.c b/src/ubik/remote.c index 4ed4dc8fac..83f2f79db8 100644 --- a/src/ubik/remote.c +++ b/src/ubik/remote.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/ubik/ubik.c b/src/ubik/ubik.c index 7b1238d383..ddd1ce7efd 100644 --- a/src/ubik/ubik.c +++ b/src/ubik/ubik.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/ubik/ubik.p.h b/src/ubik/ubik.p.h index bf75fbc8d3..4553d55336 100644 --- a/src/ubik/ubik.p.h +++ b/src/ubik/ubik.p.h @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS) -#endif #ifndef UBIK_H #define UBIK_H diff --git a/src/ubik/ubikclient.c b/src/ubik/ubikclient.c index 253ab62625..3b36fc2354 100644 --- a/src/ubik/ubikclient.c +++ b/src/ubik/ubikclient.c @@ -9,6 +9,14 @@ #if defined(UKERNEL) #include "../afs/param.h" +#else +#include +#endif +#include + +RCSID("$Header$"); + +#if defined(UKERNEL) #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" #include "../afs/stds.h" @@ -19,7 +27,6 @@ #include "../afs/ubik.h" #include "../afs/pthread_glock.h" #else /* defined(UKERNEL) */ -#include #include #include #include diff --git a/src/ubik/ubikcmd.c b/src/ubik/ubikcmd.c index 845f4276c3..03a1a80068 100644 --- a/src/ubik/ubikcmd.c +++ b/src/ubik/ubikcmd.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/ubik/udebug.c b/src/ubik/udebug.c index b33a36289a..607373b34e 100644 --- a/src/ubik/udebug.c +++ b/src/ubik/udebug.c @@ -9,6 +9,9 @@ #include #include + +RCSID("$Header$"); + #include #include #ifdef HAVE_STRINGS_H diff --git a/src/ubik/utst_client.c b/src/ubik/utst_client.c index bb37a18995..47dfd23049 100644 --- a/src/ubik/utst_client.c +++ b/src/ubik/utst_client.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/ubik/utst_server.c b/src/ubik/utst_server.c index c06c771bc5..8f02488f36 100644 --- a/src/ubik/utst_server.c +++ b/src/ubik/utst_server.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_NT40_ENV diff --git a/src/ubik/vote.c b/src/ubik/vote.c index 50c5666801..458a97a321 100644 --- a/src/ubik/vote.c +++ b/src/ubik/vote.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/update/client.c b/src/update/client.c index b38fc654e8..79269e2e49 100644 --- a/src/update/client.c +++ b/src/update/client.c @@ -9,6 +9,9 @@ #include #include + +RCSID("$Header$"); + #include #ifdef AFS_AIX32_ENV #include @@ -51,13 +54,9 @@ #include #include #include - -RCSID("$Header$"); - #include "update.h" #include "global.h" - char *whoami; static int verbose; diff --git a/src/update/server.c b/src/update/server.c index 471c4a94ec..fdcc291db5 100644 --- a/src/update/server.c +++ b/src/update/server.c @@ -9,6 +9,9 @@ #include #include + +RCSID("$Header$"); + #include #ifdef AFS_AIX32_ENV #include @@ -46,13 +49,9 @@ #include #include #include - -RCSID("$Header$"); - #include "update.h" #include "global.h" - extern int UPDATE_ExecuteRequest(); static int AddObject(char **expPath, char *dir); static int PathInDirectory(char *dir, char *path); diff --git a/src/update/utils.c b/src/update/utils.c index 5f7de410ad..db1f4f2c64 100644 --- a/src/update/utils.c +++ b/src/update/utils.c @@ -9,6 +9,9 @@ #include #include + +RCSID("$Header$"); + #include #include #include "global.h" @@ -30,8 +33,6 @@ #endif #include -RCSID("$Header$"); - int AddToList(ah, aname) struct filestr **ah; diff --git a/src/usd/test/usd_test.c b/src/usd/test/usd_test.c index 6c78b6123a..b919ce53a0 100644 --- a/src/usd/test/usd_test.c +++ b/src/usd/test/usd_test.c @@ -14,6 +14,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_NT40_ENV diff --git a/src/usd/usd_file.c b/src/usd/usd_file.c index fb08d4f773..929af863b2 100644 --- a/src/usd/usd_file.c +++ b/src/usd/usd_file.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/usd/usd_nt.c b/src/usd/usd_nt.c index 46addf8f7d..bb5fc8c56f 100644 --- a/src/usd/usd_nt.c +++ b/src/usd/usd_nt.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/uss/Makefile b/src/uss/Makefile index 1e979e46f3..9b044bb1a2 100644 --- a/src/uss/Makefile +++ b/src/uss/Makefile @@ -37,7 +37,8 @@ LIBS = ${SRCDIR}lib/afs/libvolser.a \ ${SRCDIR}lib/afs/util.a \ ${XLIBS} -CFLAGS = ${DBUG} -I/usr/include -I${SRCDIR}include -I. ${XCFLAGS} +CFLAGS = ${DBUG} -I/usr/include -I${TOP_SRCDIR}/config \ + -I${SRCDIR}include -I. ${XCFLAGS} OBJS = uss_procs.o \ uss_common.o \ uss_vol.o \ diff --git a/src/uss/lex.c b/src/uss/lex.c index 7040eb0545..d692415889 100644 --- a/src/uss/lex.c +++ b/src/uss/lex.c @@ -8,6 +8,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include "y.tab.h" #include "uss_common.h" extern char *index(); diff --git a/src/uss/uss.c b/src/uss/uss.c index b32074a2e6..07d2004d04 100644 --- a/src/uss/uss.c +++ b/src/uss/uss.c @@ -16,6 +16,10 @@ */ #include #include +#include + +RCSID("$Header$"); + #ifdef AFS_AIX32_ENV #include #endif diff --git a/src/uss/uss_acl.c b/src/uss/uss_acl.c index b538510c11..1ef25a69ea 100644 --- a/src/uss/uss_acl.c +++ b/src/uss/uss_acl.c @@ -15,6 +15,11 @@ /* * --------------------- Required definitions --------------------- */ +#include +#include + +RCSID("$Header$"); + #include "uss_acl.h" #include "uss_common.h" #include "uss_fs.h" diff --git a/src/uss/uss_acl.h b/src/uss/uss_acl.h index 13f27b789c..0c5b8da179 100644 --- a/src/uss/uss_acl.h +++ b/src/uss/uss_acl.h @@ -14,7 +14,6 @@ #ifndef _USS_ACL_H_ #define _USS_ACL_H_ 1 -#include /* * ------------------------ Exported functions ----------------------- */ diff --git a/src/uss/uss_common.c b/src/uss/uss_common.c index 1f3e479a82..c8969f1a45 100644 --- a/src/uss/uss_common.c +++ b/src/uss/uss_common.c @@ -15,6 +15,11 @@ /* * --------------------- Required definitions --------------------- */ +#include +#include + +RCSID("$Header$"); + #include "uss_common.h" /*Interface definitions*/ #include /*MAXKTCREALMLEN & MAXKTCNAMELEN*/ diff --git a/src/uss/uss_common.h b/src/uss/uss_common.h index 0b22fac399..aeb8201ea6 100644 --- a/src/uss/uss_common.h +++ b/src/uss/uss_common.h @@ -19,7 +19,6 @@ /* * --------------------- Required definitions --------------------- */ -#include /*Basic system configuration stuff*/ #include /*Ditto*/ #include /*I/O stuff*/ #include diff --git a/src/uss/uss_fs.c b/src/uss/uss_fs.c index a4b120ea50..08d37f9c31 100644 --- a/src/uss/uss_fs.c +++ b/src/uss/uss_fs.c @@ -16,6 +16,10 @@ * --------------------- Required definitions --------------------- */ #include +#include + +RCSID("$Header$"); + #include "uss_fs.h" /*Interface to this module*/ #include #include diff --git a/src/uss/uss_kauth.c b/src/uss/uss_kauth.c index a10a77ce06..8cd58dac1d 100644 --- a/src/uss/uss_kauth.c +++ b/src/uss/uss_kauth.c @@ -15,6 +15,11 @@ /* * --------------------- Required definitions --------------------- */ +#include +#include + +RCSID("$Header$"); + #include "uss_kauth.h" /*Module interface*/ #include "uss_common.h" /*Common defs & operations*/ #include diff --git a/src/uss/uss_kauth.h b/src/uss/uss_kauth.h index f616558ec3..8d4bc4e2dc 100644 --- a/src/uss/uss_kauth.h +++ b/src/uss/uss_kauth.h @@ -15,7 +15,6 @@ #ifndef _USS_KAUTH_H_ #define _USS_KAUTH_H_ 1 -#include /* * --------------------- Required definitions --------------------- */ diff --git a/src/uss/uss_procs.c b/src/uss/uss_procs.c index 7db0d2755b..719c642b2c 100644 --- a/src/uss/uss_procs.c +++ b/src/uss/uss_procs.c @@ -16,6 +16,10 @@ * --------------------- Required definitions --------------------- */ #include +#include + +RCSID("$Header$"); + #include "uss_procs.h" /*Module interface*/ #include "uss_common.h" /*Common defs & operations*/ #include "uss_acl.h" /*ACL-related operations*/ diff --git a/src/uss/uss_ptserver.c b/src/uss/uss_ptserver.c index 5087eedeb6..94adc3a477 100644 --- a/src/uss/uss_ptserver.c +++ b/src/uss/uss_ptserver.c @@ -15,6 +15,11 @@ /* * --------------------- Required definitions --------------------- */ +#include +#include + +RCSID("$Header$"); + #include "uss_ptserver.h" /*Module interface*/ #include /*Protection Server client interface*/ #include /*Protection Server error codes*/ diff --git a/src/uss/uss_vol.c b/src/uss/uss_vol.c index abfa6b782f..d2c5b62ea2 100644 --- a/src/uss/uss_vol.c +++ b/src/uss/uss_vol.c @@ -15,6 +15,11 @@ /* * --------------------- Required definitions --------------------- */ +#include +#include + +RCSID("$Header$"); + #include "uss_vol.h" /*Interface to this module*/ #include "uss_common.h" /*Common definitions*/ #include "uss_procs.h" /*Defs from procs module*/ diff --git a/src/uss/uss_vol.h b/src/uss/uss_vol.h index be256537cd..fce17d7bd1 100644 --- a/src/uss/uss_vol.h +++ b/src/uss/uss_vol.h @@ -14,7 +14,6 @@ #ifndef _USS_VOL_H_ #define _USS_VOL_H_ 1 -#include /* * ------------------------ Exported functions ----------------------- diff --git a/src/util/afs_atomlist.c b/src/util/afs_atomlist.c index c82c1d7bad..279be554f5 100644 --- a/src/util/afs_atomlist.c +++ b/src/util/afs_atomlist.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #ifdef KERNEL #include "../afs/afs_atomlist.h" #else /* KERNEL */ diff --git a/src/util/afs_lhash.c b/src/util/afs_lhash.c index 27ecc41abe..63f90e69e9 100644 --- a/src/util/afs_lhash.c +++ b/src/util/afs_lhash.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #ifdef KERNEL #include "../afs/afs_atomlist.h" #include "../afs/afs_lhash.h" diff --git a/src/util/assert.c b/src/util/assert.c index 097106bb49..8aed5d1ff9 100644 --- a/src/util/assert.c +++ b/src/util/assert.c @@ -7,10 +7,12 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif /* ReallyAbort: called from assert. May/85 */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV diff --git a/src/util/assert.h b/src/util/assert.h index b03abf38be..ec0933d5f1 100644 --- a/src/util/assert.h +++ b/src/util/assert.h @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS) -#endif /* @(#)assert.h 1.1 83/08/01 SMI; from UCB 4.1 83/05/03 */ /* Modified to dump core, rather than exit. May/85 RNS */ diff --git a/src/util/base32.c b/src/util/base32.c index 0e5793dad1..a20abb4ace 100644 --- a/src/util/base32.c +++ b/src/util/base32.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include "afsutil.h" static char *c_xlate = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; diff --git a/src/util/base64.c b/src/util/base64.c index 55a11b6913..c93509b9fd 100644 --- a/src/util/base64.c +++ b/src/util/base64.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #ifdef AFS_SGI_XFS_IOPS_ENV diff --git a/src/util/casestrcpy.c b/src/util/casestrcpy.c index 8278f91a35..b3c4107b50 100644 --- a/src/util/casestrcpy.c +++ b/src/util/casestrcpy.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/util/dirpath.c b/src/util/dirpath.c index 496cd67de0..d8c5ee8ea4 100644 --- a/src/util/dirpath.c +++ b/src/util/dirpath.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/util/errmap_nt.c b/src/util/errmap_nt.c index 105bb358c5..5ad2c92477 100644 --- a/src/util/errmap_nt.c +++ b/src/util/errmap_nt.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include #include diff --git a/src/util/fileutil.c b/src/util/fileutil.c index f35b2c6e14..3724c6281c 100644 --- a/src/util/fileutil.c +++ b/src/util/fileutil.c @@ -10,6 +10,10 @@ /* File-oriented utility functions */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/util/flipbase64.c b/src/util/flipbase64.c index e2977f9f42..5414b05e1b 100644 --- a/src/util/flipbase64.c +++ b/src/util/flipbase64.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #if defined(AFS_NAMEI_ENV) #include diff --git a/src/util/get_krbrlm.c b/src/util/get_krbrlm.c index 0d32218d7d..02b905a1d4 100644 --- a/src/util/get_krbrlm.c +++ b/src/util/get_krbrlm.c @@ -4,6 +4,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include "afsutil.h" diff --git a/src/util/hostparse.c b/src/util/hostparse.c index 2ba60eb4c9..80a82a3757 100644 --- a/src/util/hostparse.c +++ b/src/util/hostparse.c @@ -12,6 +12,10 @@ */ #include +#include + +RCSID("$Header$"); + #ifdef UKERNEL #include "../afs/sysincludes.h" #include "../afs/afsutil.h" diff --git a/src/util/hputil.c b/src/util/hputil.c index 00f02a0fd9..cdd49994a2 100644 --- a/src/util/hputil.c +++ b/src/util/hputil.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #ifdef AFS_HPUX_ENV #include #include diff --git a/src/util/isathing.c b/src/util/isathing.c index af27dba5b8..d1ab75e1b5 100644 --- a/src/util/isathing.c +++ b/src/util/isathing.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include /* checks a string to determine whether it's a non-negative decimal integer or not */ diff --git a/src/util/kreltime.c b/src/util/kreltime.c index 0a86832c70..965150b65b 100644 --- a/src/util/kreltime.c +++ b/src/util/kreltime.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/util/ktime.c b/src/util/ktime.c index 1166d0666a..0d5b489022 100644 --- a/src/util/ktime.c +++ b/src/util/ktime.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/util/netutils.c b/src/util/netutils.c index 684ebc74fe..dba78c72a7 100644 --- a/src/util/netutils.c +++ b/src/util/netutils.c @@ -12,10 +12,18 @@ * Parsing NetRestrict file and filtering IP addresses */ +#ifdef KERNEL +#include "../afs/param.h" +#else +#include +#endif +#include + +RCSID("$Header$"); + #include #include #ifdef KERNEL -#include "../afs/param.h" #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" #else diff --git a/src/util/pthread_glock.c b/src/util/pthread_glock.c index 240be4ed63..e0280721b9 100644 --- a/src/util/pthread_glock.c +++ b/src/util/pthread_glock.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #if defined(AFS_NT40_ENV) && defined(AFS_PTHREAD_ENV) #define AFS_GRMUTEX_DECLSPEC __declspec(dllexport) #endif diff --git a/src/util/readdir_nt.c b/src/util/readdir_nt.c index 19eb84e6dd..83c6f0d4ad 100644 --- a/src/util/readdir_nt.c +++ b/src/util/readdir_nt.c @@ -17,6 +17,10 @@ * readdir */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/util/regex.c b/src/util/regex.c index 7e784c71b9..c65fd0d4fa 100644 --- a/src/util/regex.c +++ b/src/util/regex.c @@ -7,48 +7,16 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -/* - * All Rights Reserved - */ -/* - * HISTORY - * Revision 1.1.7.2 1994/08/25 17:34:40 - * Added s12y calls - * [1994/08/25 17:23:12] - * - * Revision 1.1.7.1 1994/06/09 13:50:35 - * fixed copyright in src/file - * [1994/06/08 21:23:56] - * - * Revision 1.1.5.3 1993/01/18 19:51:30 - * Embedded copyright notice - * [1993/01/18 19:26:02 - * - * Revision 1.1.5.2 1992/11/24 15:37:53 - * Change include file install directory from .../afs to .../dcedfs. - * [1992/11/22 16:05:26] - * - * Revision 1.1.3.3 1992/01/24 01:48:02 - * Merging dfs6.3 - * [1992/01/24 00:02:28] - * - * Revision 1.1.3.2 1992/01/23 19:03:28 - * Moving files onto the branch for dfs6.3 merge - * [1992/01/23 18:19:02] - * Revision 1.1.1.2 1992/01/22 19:29:25 - * Bring in dfs6.3 sources - * - * Revision 1.1 1992/01/19 02:56:43 - * Initial revision - * - * $EndLog$ - */ /* * regex.c -- regular expression patter matching functions * */ #include +#include + +RCSID("$Header$"); + /* * routines to do regular expression matching * diff --git a/src/util/remote.h b/src/util/remote.h index 4b44cdaaaa..7f28ad2539 100644 --- a/src/util/remote.h +++ b/src/util/remote.h @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS) -#endif /* * In which the structures needed to facilitate interception of file system * related system calls by a user process ("agent", or "venus"). diff --git a/src/util/secutil_nt.c b/src/util/secutil_nt.c index 201dd6b5fd..3d79128048 100644 --- a/src/util/secutil_nt.c +++ b/src/util/secutil_nt.c @@ -10,6 +10,10 @@ /* Security related utilities for the Windows platform */ #include +#include + +RCSID("$Header$"); + #include #include diff --git a/src/util/serverLog.c b/src/util/serverLog.c index d7375aa7ba..68c8ae380b 100644 --- a/src/util/serverLog.c +++ b/src/util/serverLog.c @@ -17,6 +17,10 @@ /* ********************************************************************** */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/util/snprintf.c b/src/util/snprintf.c index ef6c5110c0..f2bcf27a20 100644 --- a/src/util/snprintf.c +++ b/src/util/snprintf.c @@ -1,6 +1,10 @@ /* snprintf.c - Formatted, length-limited print to a string */ #include +#include + +RCSID("$Header$"); + #if defined(AFS_OSF20_ENV) && !defined(AFS_DUX50_ENV) || defined(AFS_AIX32_ENV) || (defined(AFS_SUN55_ENV) && !defined(AFS_SUN56_ENV)) #include #include diff --git a/src/util/sys.c b/src/util/sys.c index 8c356113e8..e562fddef8 100644 --- a/src/util/sys.c +++ b/src/util/sys.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include "AFS_component_version_number.c" diff --git a/src/util/test/b32.c b/src/util/test/b32.c index fe8b3b1167..da66aa5532 100644 --- a/src/util/test/b32.c +++ b/src/util/test/b32.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #if !defined(AFS_NT40_ENV) main() { printf("b32 not required for this operating system.\n"); exit(1); } diff --git a/src/util/test/b64.c b/src/util/test/b64.c index 8efc9e6101..fa6eb65d1d 100644 --- a/src/util/test/b64.c +++ b/src/util/test/b64.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #if !defined(AFS_NT40_ENV) main() { printf("b64 not required for this operating system.\n"); exit(1); } diff --git a/src/util/test/dirpath_test.c b/src/util/test/dirpath_test.c index 9a0dde70ee..b5ef78ee9c 100644 --- a/src/util/test/dirpath_test.c +++ b/src/util/test/dirpath_test.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include diff --git a/src/util/test/dtest.c b/src/util/test/dtest.c index f129fca83f..4edaeb4bca 100644 --- a/src/util/test/dtest.c +++ b/src/util/test/dtest.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include "ktime.h" main(argc, argv) diff --git a/src/util/test/fb64.c b/src/util/test/fb64.c index cb4f5de013..4d09536d9a 100644 --- a/src/util/test/fb64.c +++ b/src/util/test/fb64.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #if !defined(AFS_NAMEI_ENV) main() { printf("fb64 not required for this operating system.\n"); exit(1); } diff --git a/src/util/test/ktest.c b/src/util/test/ktest.c index 0399f426ec..41a9d68984 100644 --- a/src/util/test/ktest.c +++ b/src/util/test/ktest.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include "ktime.h" main(argc, argv) diff --git a/src/util/test/test_ktime.c b/src/util/test/test_ktime.c index 4231462128..b3c6e30b5e 100644 --- a/src/util/test/test_ktime.c +++ b/src/util/test/test_ktime.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include "ktime.h" static struct testTime { diff --git a/src/util/test/treaddir.c b/src/util/test/treaddir.c index e71ce69380..4dc486dd6d 100644 --- a/src/util/test/treaddir.c +++ b/src/util/test/treaddir.c @@ -17,6 +17,10 @@ * 3) Try to read a file. */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/util/uuid.c b/src/util/uuid.c index c73fe3ed78..2a21e8ed3d 100644 --- a/src/util/uuid.c +++ b/src/util/uuid.c @@ -9,12 +9,19 @@ #ifdef KERNEL #include "../afs/param.h" +#else +#include +#endif +#include + +RCSID("$Header$"); + +#ifdef KERNEL #include "../afs/sysincludes.h" #include "../afs/afsincludes.h" #define uuid_memcmp(A,B,C) bcmp(A,B,C) #define uuid_memcpy(A,B,C) bcopy(B,A,C) #else /* KERNEL */ -#include #include #include #ifdef AFS_NT40_ENV diff --git a/src/util/vice.h b/src/util/vice.h index d28e4b62e0..ad817fae15 100644 --- a/src/util/vice.h +++ b/src/util/vice.h @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS) -#endif /* * /usr/include/sys/vice.h * diff --git a/src/util/volparse.c b/src/util/volparse.c index bad8961bb4..1bfb25d3df 100644 --- a/src/util/volparse.c +++ b/src/util/volparse.c @@ -7,12 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -/* - * ALL RIGHTS RESERVED - */ - #include #include + +RCSID("$Header$"); + #ifdef HAVE_STRINGS_H #include #else diff --git a/src/util/winsock_nt.c b/src/util/winsock_nt.c index 0dcd81001a..f3f170ab6f 100644 --- a/src/util/winsock_nt.c +++ b/src/util/winsock_nt.c @@ -10,6 +10,10 @@ /* winsock.c contains winsock related routines. */ #include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/venus/Makefile b/src/venus/Makefile index 7da9bd3bad..886a581989 100644 --- a/src/venus/Makefile +++ b/src/venus/Makefile @@ -138,9 +138,9 @@ whatfid: whatfid.o ${LIBS} fstrace.o: fstrace.c AFS_component_version_number.c case ${SYS_NAME} in \ sun4_411 | sun4c_411 | sun4m_412 ) \ - ${CCXPG2} -g -I${DESTDIR}include -I${SRCDIR}include -c fstrace.c ;; \ + ${CCXPG2} -g -I${TOP_SRCDIR}/config -I${DESTDIR}include -I${SRCDIR}include -c fstrace.c ;; \ * ) \ - ${CC} ${CFLAGS} -g -I${DESTDIR}include -I${SRCDIR}include -c fstrace.c ;; \ + ${CC} ${CFLAGS} -g -I${TOP_SRCDIR}/config -I${DESTDIR}include -I${SRCDIR}include -c fstrace.c ;; \ esac fstrace: fstrace.o @@ -150,7 +150,7 @@ fstrace: fstrace.o sun4_411 | sun4c_411 | sun4m_412 ) \ ${CCXPG2} ${CFLAGS} -g -o fstrace fstrace.o ${VLIB}/libsys.a ${VLIB}libcmd.a ${VLIB}util.a ;; \ hp700_ux100 | hp800_ux100 | hp?00_ux10? | hp_ux10? | hp_ux11?) \ - ${CC} -o fstrace fstrace.o ${VLIB}/libsys.a ${VLIB}libcmd.a ${VLIB}util.a ;; \ + ${CC} -I${TOP_SRCDIR}/config -o fstrace fstrace.o ${VLIB}/libsys.a ${VLIB}libcmd.a ${VLIB}util.a ;; \ * ) \ ${CC} ${CFLAGS} -o fstrace fstrace.o ${VLIB}/libsys.a ${VLIB}libcmd.a ${VLIB}util.a ;; \ esac diff --git a/src/venus/cacheout.c b/src/venus/cacheout.c index e35befdc45..8e3d43a63c 100644 --- a/src/venus/cacheout.c +++ b/src/venus/cacheout.c @@ -10,6 +10,10 @@ #include #include +#include + +RCSID("$Header$"); + #include #include diff --git a/src/venus/cmdebug.c b/src/venus/cmdebug.c index b2e6fa5369..b74a359fec 100644 --- a/src/venus/cmdebug.c +++ b/src/venus/cmdebug.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include diff --git a/src/venus/fs.c b/src/venus/fs.c index 5658da479b..d3fe6c5180 100644 --- a/src/venus/fs.c +++ b/src/venus/fs.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/venus/fstrace.c b/src/venus/fstrace.c index e7541e2fb8..bd4dd99239 100644 --- a/src/venus/fstrace.c +++ b/src/venus/fstrace.c @@ -11,6 +11,10 @@ * All Rights Reserved */ #include +#include + +RCSID("$Header$"); + #include #include #if !defined(AFS_SUN3_ENV) && !defined(sys_vax_ul43) && !defined(AFS_DARWIN_ENV) diff --git a/src/venus/gcpags.c b/src/venus/gcpags.c index 68b4cdd650..9e455688a2 100644 --- a/src/venus/gcpags.c +++ b/src/venus/gcpags.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/venus/kdump.c b/src/venus/kdump.c index dc13a12772..46ac91151c 100644 --- a/src/venus/kdump.c +++ b/src/venus/kdump.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include #include /* for malloc() */ #include @@ -48,8 +53,6 @@ struct ntfs_inode_info{}; /* This tells afs.h to pick up afs_args from the dest tree. */ #define KDUMP_KERNEL -#include - /* * Need to include before _KERNEL is defined since on IRIX 6.5 * includes , which in turn declares inet_addr() diff --git a/src/venus/lock.h b/src/venus/lock.h index 72589ecf2d..cfbcbeef0c 100644 --- a/src/venus/lock.h +++ b/src/venus/lock.h @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS) -#endif #ifndef __AFSLOCK_INCLUDE__ #define __AFSLOCK_INCLUDE__ 1 diff --git a/src/venus/test/Makefile b/src/venus/test/Makefile index ae4e920450..b3e40f7f6e 100644 --- a/src/venus/test/Makefile +++ b/src/venus/test/Makefile @@ -11,7 +11,7 @@ include ../../config/Makefile.${SYS_NAME} # DESTDIR=DEST/ OPTIMIZE=-O -INCDIRS= -I${DESTDIR}include -I.. +INCDIRS= -I${TOP_SRCDIR}/config -I${DESTDIR}include -I.. LDIRS= -L${DESTDIR}lib -L${DESTDIR}lib/afs -L.. utilib=${DESTDIR}lib/afs/util.a LIBS= -lsys -lubik -lvldb -lauth -lrxkad -ldes -lcom_err -lcmd -lrx -llwp ${utilib} diff --git a/src/venus/test/fulltest.c b/src/venus/test/fulltest.c index 3b59a06d11..00c7e84c70 100644 --- a/src/venus/test/fulltest.c +++ b/src/venus/test/fulltest.c @@ -7,9 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/venus/test/getinitparams.c b/src/venus/test/getinitparams.c index 40a5e71662..b7fa51d5dd 100644 --- a/src/venus/test/getinitparams.c +++ b/src/venus/test/getinitparams.c @@ -8,6 +8,10 @@ */ /* Get CM initialization parameters. */ +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/venus/test/idtest.c b/src/venus/test/idtest.c index bb70bd0a06..7daf11f232 100644 --- a/src/venus/test/idtest.c +++ b/src/venus/test/idtest.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + main(argc, argv) { int uid; diff --git a/src/venus/test/owntest.c b/src/venus/test/owntest.c index 20f40b46c3..05c14881e7 100644 --- a/src/venus/test/owntest.c +++ b/src/venus/test/owntest.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/venus/twiddle.c b/src/venus/twiddle.c index bf3ec545a3..e42c358f7b 100644 --- a/src/venus/twiddle.c +++ b/src/venus/twiddle.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/venus/up.c b/src/venus/up.c index 009203c07c..5e2f6bc5cf 100644 --- a/src/venus/up.c +++ b/src/venus/up.c @@ -7,15 +7,16 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + /* missing type from C language */ #define Boolean short #define true 1 #define false 0 -/* ************************************************************* */ - -#include -#include #include #ifdef AFS_AIX32_ENV #include diff --git a/src/venus/whatfid.c b/src/venus/whatfid.c index 9ea060fc28..2aee591188 100644 --- a/src/venus/whatfid.c +++ b/src/venus/whatfid.c @@ -11,6 +11,10 @@ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_AIX32_ENV diff --git a/src/vfsck/Makefile b/src/vfsck/Makefile index fd97f8213d..9598045947 100644 --- a/src/vfsck/Makefile +++ b/src/vfsck/Makefile @@ -19,7 +19,7 @@ COMPONENT=vfsck include ../config/Makefile.${SYS_NAME} -CFLAGS= ${DBUG} -w -I${SRCDIR}include ${XCFLAGS} +CFLAGS= ${DBUG} -w -I${TOP_SRCDIR}/config -I${SRCDIR}include ${XCFLAGS} LIBC= /lib/libc.a SRCS= dir.c inode.c main.c pass1.c pass1b.c pass2.c pass3.c pass4.c \ pass5.c setup.c utilities.c ufs_subr.c ufs_tables.c dirutils.c\ diff --git a/src/vfsck/dir.c b/src/vfsck/dir.c index ac1e16d6a1..651cfbfa56 100644 --- a/src/vfsck/dir.c +++ b/src/vfsck/dir.c @@ -15,11 +15,11 @@ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#ifndef lint -static char sccsid[] = "@(#)dir.c 5.10 (Berkeley) 2/1/90"; -#endif /* not lint */ - #include +#include + +RCSID("$Header$"); + #define VICE /* allow us to put our changes in at will */ #include diff --git a/src/vfsck/dirutils.c b/src/vfsck/dirutils.c index 2983439645..fd5afc250f 100644 --- a/src/vfsck/dirutils.c +++ b/src/vfsck/dirutils.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/vfsck/inode.c b/src/vfsck/inode.c index bbfba2b9d4..0ef2317f04 100644 --- a/src/vfsck/inode.c +++ b/src/vfsck/inode.c @@ -15,11 +15,11 @@ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#ifndef lint -static char sccsid[] = "@(#)inode.c 5.11 (Berkeley) 2/1/90"; -#endif /* not lint */ - #include +#include + +RCSID("$Header$"); + #define VICE /* control whether AFS changes are present */ #include diff --git a/src/vfsck/main.c b/src/vfsck/main.c index ad7e8f7de5..f9ef4e29e2 100644 --- a/src/vfsck/main.c +++ b/src/vfsck/main.c @@ -15,17 +15,11 @@ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#ifndef lint -char copyright[] = -"@(#) Copyright (c) 1980, 1986 The Regents of the University of California.\n\ - All rights reserved.\n"; -#endif /* not lint */ - -#ifndef lint -static char sccsid[] = "@(#)main.c 5.17 (Berkeley) 2/1/90"; -#endif /* not lint */ - #include +#include + +RCSID("$Header$"); + #define VICE /* allow us to put our changes in at will */ #include diff --git a/src/vfsck/pass1.c b/src/vfsck/pass1.c index af5c094ee0..a52f653271 100644 --- a/src/vfsck/pass1.c +++ b/src/vfsck/pass1.c @@ -15,13 +15,12 @@ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#ifndef lint -static char sccsid[] = "@(#)pass1.c 5.9 (Berkeley) 2/1/90"; -#endif /* not lint */ +#include +#include + +RCSID("$Header$"); #define VICE -#include - #include #include #ifdef AFS_OSF_ENV diff --git a/src/vfsck/pass1b.c b/src/vfsck/pass1b.c index 923006803a..0b4c53a665 100644 --- a/src/vfsck/pass1b.c +++ b/src/vfsck/pass1b.c @@ -15,16 +15,14 @@ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#ifndef lint -static char sccsid[] = "@(#)pass1b.c 5.6 (Berkeley) 2/1/90"; -#endif /* not lint */ +#include +#include + +RCSID("$Header$"); #define VICE -#include - #include #include - #ifdef AFS_OSF_ENV #include #include diff --git a/src/vfsck/pass2.c b/src/vfsck/pass2.c index 13e82ef3b1..b356014426 100644 --- a/src/vfsck/pass2.c +++ b/src/vfsck/pass2.c @@ -15,16 +15,14 @@ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#ifndef lint -static char sccsid[] = "@(#)pass2.c 5.8 (Berkeley) 2/1/90"; -#endif /* not lint */ +#include +#include + +RCSID("$Header$"); #define VICE -#include - #include #include - #ifdef AFS_OSF_ENV #include #include diff --git a/src/vfsck/pass3.c b/src/vfsck/pass3.c index 75d8bb9750..efc7b5f5ba 100644 --- a/src/vfsck/pass3.c +++ b/src/vfsck/pass3.c @@ -15,13 +15,12 @@ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#ifndef lint -static char sccsid[] = "@(#)pass3.c 5.6 (Berkeley) 2/1/90"; -#endif /* not lint */ +#include +#include + +RCSID("$Header$"); #define VICE -#include - #include #include diff --git a/src/vfsck/pass4.c b/src/vfsck/pass4.c index ba46520239..22f9b4bdf3 100644 --- a/src/vfsck/pass4.c +++ b/src/vfsck/pass4.c @@ -15,16 +15,14 @@ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#ifndef lint -static char sccsid[] = "@(#)pass4.c 5.7 (Berkeley) 2/1/90"; -#endif /* not lint */ +#include +#include + +RCSID("$Header$"); #define VICE -#include - #include #include - #ifdef AFS_OSF_ENV #include #include diff --git a/src/vfsck/pass5.c b/src/vfsck/pass5.c index 9e3183497b..796543786b 100644 --- a/src/vfsck/pass5.c +++ b/src/vfsck/pass5.c @@ -15,16 +15,14 @@ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#ifndef lint -static char sccsid[] = "@(#)pass5.c 5.10 (Berkeley) 2/1/90"; -#endif /* not lint */ +#include +#include + +RCSID("$Header$"); #define VICE -#include - #include #include - #ifdef AFS_OSF_ENV #include #include diff --git a/src/vfsck/proplist.c b/src/vfsck/proplist.c index 1b627920ec..f0d195f2cc 100644 --- a/src/vfsck/proplist.c +++ b/src/vfsck/proplist.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #define VICE /* control whether AFS changes are present */ #ifdef AFS_OSF_ENV diff --git a/src/vfsck/setup.c b/src/vfsck/setup.c index 3bd9e9ca00..56192564b5 100644 --- a/src/vfsck/setup.c +++ b/src/vfsck/setup.c @@ -15,14 +15,13 @@ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#ifndef lint -static char sccsid[] = "@(#)setup.c 5.25 (Berkeley) 2/1/90"; -#endif /* not lint */ +#include +#include +RCSID("$Header$"); #include #define VICE -#include #if defined(AFS_SUN_ENV) || defined(AFS_OSF_ENV) #define AFS_NEWCG_ENV diff --git a/src/vfsck/ufs_subr.c b/src/vfsck/ufs_subr.c index b23b1545cb..c9697bcf99 100644 --- a/src/vfsck/ufs_subr.c +++ b/src/vfsck/ufs_subr.c @@ -18,6 +18,10 @@ */ #include +#include + +RCSID("$Header$"); + #define VICE #include diff --git a/src/vfsck/ufs_tables.c b/src/vfsck/ufs_tables.c index 8188a464a4..fc86fdd87f 100644 --- a/src/vfsck/ufs_tables.c +++ b/src/vfsck/ufs_tables.c @@ -18,6 +18,10 @@ */ #include +#include + +RCSID("$Header$"); + #ifdef KERNEL #include "param.h" #else diff --git a/src/vfsck/utilities.c b/src/vfsck/utilities.c index f5a1f32bbe..9e6f8cbf17 100644 --- a/src/vfsck/utilities.c +++ b/src/vfsck/utilities.c @@ -15,11 +15,10 @@ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#ifndef lint -static char sccsid[] = "@(#)utilities.c 5.21 (Berkeley) 2/1/90"; -#endif /* not lint */ - #include +#include + +RCSID("$Header$"); #include #define VICE /* allow us to put our changes in at will */ diff --git a/src/vfsck/vprintf.c b/src/vfsck/vprintf.c index b192eac92d..58f7679739 100644 --- a/src/vfsck/vprintf.c +++ b/src/vfsck/vprintf.c @@ -11,6 +11,10 @@ * and which I don't. */ #include +#include + +RCSID("$Header$"); + #define VICE /* allow us to put our changes in at will */ #include diff --git a/src/viced/afsfileprocs.c b/src/viced/afsfileprocs.c index 9bfb3951ee..403c5b5ab8 100644 --- a/src/viced/afsfileprocs.c +++ b/src/viced/afsfileprocs.c @@ -26,6 +26,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/viced/callback.c b/src/viced/callback.c index c197140ace..7828099e7b 100644 --- a/src/viced/callback.c +++ b/src/viced/callback.c @@ -80,6 +80,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include /* for malloc() */ #include /* ANSI standard location for time stuff */ diff --git a/src/viced/check_sysid.c b/src/viced/check_sysid.c index f40191c810..8b2d9ecf15 100644 --- a/src/viced/check_sysid.c +++ b/src/viced/check_sysid.c @@ -12,6 +12,11 @@ /* */ /* ********************************************************************* */ +#include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/viced/fsprobe.c b/src/viced/fsprobe.c index 2bc1f24513..0458d8e758 100644 --- a/src/viced/fsprobe.c +++ b/src/viced/fsprobe.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/viced/host.c b/src/viced/host.c index 2d2233b3ec..d7fcaad6e9 100644 --- a/src/viced/host.c +++ b/src/viced/host.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_NT40_ENV diff --git a/src/viced/physio.c b/src/viced/physio.c index 5237be1fb8..698430aeaa 100644 --- a/src/viced/physio.c +++ b/src/viced/physio.c @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif /* physio.c - Physical I/O routines for the buffer package */ /* */ /* Date: 5/1/85 */ @@ -16,6 +14,10 @@ /************************************************************************/ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_NT40_ENV diff --git a/src/viced/profile.c b/src/viced/profile.c index 4dc4a90045..1fefb5b615 100644 --- a/src/viced/profile.c +++ b/src/viced/profile.c @@ -7,11 +7,13 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif /* profile.c -- routines to deal with profiling. 2 June 1986 */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/viced/viced.c b/src/viced/viced.c index b24d1a8712..e76c16ed99 100644 --- a/src/viced/viced.c +++ b/src/viced/viced.c @@ -17,6 +17,10 @@ /* ********************************************************************** */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/vlserver/cnvldb.c b/src/vlserver/cnvldb.c index 330559da47..aad408c890 100644 --- a/src/vlserver/cnvldb.c +++ b/src/vlserver/cnvldb.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/vlserver/sascnvldb.c b/src/vlserver/sascnvldb.c index 9201402706..70a86b247b 100644 --- a/src/vlserver/sascnvldb.c +++ b/src/vlserver/sascnvldb.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/vlserver/vlclient.c b/src/vlserver/vlclient.c index 82a27d5c9e..f1e4a2e82b 100644 --- a/src/vlserver/vlclient.c +++ b/src/vlserver/vlclient.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_NT40_ENV diff --git a/src/vlserver/vldb_check.c b/src/vlserver/vldb_check.c index e11dc86fc2..a65f7870d6 100644 --- a/src/vlserver/vldb_check.c +++ b/src/vlserver/vldb_check.c @@ -22,6 +22,10 @@ #define FRC 0x200 /* on free chain */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/vlserver/vlprocs.c b/src/vlserver/vlprocs.c index fbde668dfb..605e48cdb5 100644 --- a/src/vlserver/vlprocs.c +++ b/src/vlserver/vlprocs.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/vlserver/vlserver.c b/src/vlserver/vlserver.c index d92645a47d..16dc347f52 100644 --- a/src/vlserver/vlserver.c +++ b/src/vlserver/vlserver.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/vlserver/vlutils.c b/src/vlserver/vlutils.c index 9b91591351..782fde0972 100644 --- a/src/vlserver/vlutils.c +++ b/src/vlserver/vlutils.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/vol/clone.c b/src/vol/clone.c index 2e50dd108b..9e029b3cf2 100644 --- a/src/vol/clone.c +++ b/src/vol/clone.c @@ -16,6 +16,10 @@ /* Clone a volume. Assumes the new volume is already created */ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_PTHREAD_ENV diff --git a/src/vol/common.c b/src/vol/common.c index 4efa16c186..b7b598a0e7 100644 --- a/src/vol/common.c +++ b/src/vol/common.c @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif /* System: VICE-TWO Module: common.c @@ -19,6 +17,10 @@ #include #include #include +#include + +RCSID("$Header$"); + #include int Statistics = 0; diff --git a/src/vol/devname.c b/src/vol/devname.c index 3af8874fa6..45bcaffe03 100644 --- a/src/vol/devname.c +++ b/src/vol/devname.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/vol/fs_conv_411.c b/src/vol/fs_conv_411.c index 4171c7ad32..a4f7616dbe 100644 --- a/src/vol/fs_conv_411.c +++ b/src/vol/fs_conv_411.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #if defined(AFS_DUX40_ENV) || (defined(AFS_SUN_ENV) && !defined(AFS_SUN5_ENV)) || defined(AFS_SUN54_ENV) #if defined AFS_DUX40_ENV #define OSVERS "DUX 4.0D" diff --git a/src/vol/fssync.c b/src/vol/fssync.c index 190dce809d..ec3c47483f 100644 --- a/src/vol/fssync.c +++ b/src/vol/fssync.c @@ -36,6 +36,10 @@ static int newVLDB = 1; File server synchronization with external volume utilities. */ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_NT40_ENV diff --git a/src/vol/fssync.h b/src/vol/fssync.h index 115566c6ea..068a9a1643 100644 --- a/src/vol/fssync.h +++ b/src/vol/fssync.h @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS) -#endif /* System: VICE-TWO Module: fssync.h diff --git a/src/vol/gi.c b/src/vol/gi.c index c0dd97185d..ee2850fd1b 100644 --- a/src/vol/gi.c +++ b/src/vol/gi.c @@ -7,8 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif +#include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/vol/ihandle.c b/src/vol/ihandle.c index ba149302cd..73a2ff85af 100644 --- a/src/vol/ihandle.c +++ b/src/vol/ihandle.c @@ -7,13 +7,15 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif /* ihandle.c - file descriptor cacheing for Inode handles. */ /* */ /************************************************************************/ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/vol/listinodes.c b/src/vol/listinodes.c index de163cf879..a7c3f85e47 100644 --- a/src/vol/listinodes.c +++ b/src/vol/listinodes.c @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif /* System: VICE-TWO @@ -20,6 +18,10 @@ #define ITC /* Required by inode.h */ #include +#include + +RCSID("$Header$"); + #ifndef AFS_NAMEI_ENV #ifdef AFS_LINUX20_ENV /* ListViceInodes diff --git a/src/vol/namei_ops.c b/src/vol/namei_ops.c index e878c44731..5bd89f588c 100644 --- a/src/vol/namei_ops.c +++ b/src/vol/namei_ops.c @@ -10,6 +10,10 @@ /* I/O operations for the Unix open by name (namei) interface. */ #include +#include + +RCSID("$Header$"); + #ifdef AFS_NAMEI_ENV #include #include diff --git a/src/vol/nfs.h b/src/vol/nfs.h index 365bf43c44..a24c6e9b70 100644 --- a/src/vol/nfs.h +++ b/src/vol/nfs.h @@ -9,9 +9,6 @@ #include -#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS) -#endif - #ifndef AFS_VOL_NFS_H #define AFS_VOL_NFS_H 1 /* diff --git a/src/vol/ntops.c b/src/vol/ntops.c index 5ee9eca098..2a5587b376 100644 --- a/src/vol/ntops.c +++ b/src/vol/ntops.c @@ -10,6 +10,10 @@ /* I/O operations for the Windows NT platforms. */ #include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #include diff --git a/src/vol/nuke.c b/src/vol/nuke.c index 3f9059f1af..2ea743e454 100644 --- a/src/vol/nuke.c +++ b/src/vol/nuke.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/vol/partition.c b/src/vol/partition.c index 0ed0fa24a5..373c0cae35 100644 --- a/src/vol/partition.c +++ b/src/vol/partition.c @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif /* System: VICE-TWO @@ -18,6 +16,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/vol/partition.h b/src/vol/partition.h index c6bc9a21fd..c641403451 100644 --- a/src/vol/partition.h +++ b/src/vol/partition.h @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS) -#endif /* System: VICE-TWO Module: partition.h diff --git a/src/vol/physio.c b/src/vol/physio.c index 738da105fd..5c49725879 100644 --- a/src/vol/physio.c +++ b/src/vol/physio.c @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif /* System: VICE-TWO Module: physio.c @@ -17,6 +15,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/vol/purge.c b/src/vol/purge.c index 5509ab0ab9..73cdab3f09 100644 --- a/src/vol/purge.c +++ b/src/vol/purge.c @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif /* System: VICE-TWO Module: purge.c @@ -16,6 +14,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/vol/salvage.h b/src/vol/salvage.h index 9f16df6352..cdbf289013 100644 --- a/src/vol/salvage.h +++ b/src/vol/salvage.h @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS) -#endif /* System: VICE-TWO Module: salvage.h diff --git a/src/vol/test/ilist_nt.c b/src/vol/test/ilist_nt.c index 42c06f4cf3..0d46732ff1 100644 --- a/src/vol/test/ilist_nt.c +++ b/src/vol/test/ilist_nt.c @@ -12,6 +12,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/vol/test/listVicepx.c b/src/vol/test/listVicepx.c index ee523124f7..87706ce32f 100644 --- a/src/vol/test/listVicepx.c +++ b/src/vol/test/listVicepx.c @@ -15,6 +15,10 @@ ** */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/vol/test/ltlist.c b/src/vol/test/ltlist.c index 6d909c0947..b8ed33c75e 100644 --- a/src/vol/test/ltlist.c +++ b/src/vol/test/ltlist.c @@ -9,6 +9,11 @@ /* ltlist - a standalone program to dump the link count table. */ +#include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/vol/test/nicreate.c b/src/vol/test/nicreate.c index 7b2c84dc5d..73b0aceec1 100644 --- a/src/vol/test/nicreate.c +++ b/src/vol/test/nicreate.c @@ -12,6 +12,10 @@ */ #include +#include + +RCSID("$Header$"); + #ifdef AFS_NAMEI_ENV #include #include diff --git a/src/vol/test/nilist.c b/src/vol/test/nilist.c index b754db3bda..bbfad1d792 100644 --- a/src/vol/test/nilist.c +++ b/src/vol/test/nilist.c @@ -12,6 +12,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/vol/test/nincdec.c b/src/vol/test/nincdec.c index 95fe866647..bed5e7c5be 100644 --- a/src/vol/test/nincdec.c +++ b/src/vol/test/nincdec.c @@ -12,6 +12,10 @@ */ #include +#include + +RCSID("$Header$"); + #ifdef AFS_NAMEI_ENV #include #include diff --git a/src/vol/test/nino.c b/src/vol/test/nino.c index 0875a4e91c..bcc2675d3c 100644 --- a/src/vol/test/nino.c +++ b/src/vol/test/nino.c @@ -10,6 +10,11 @@ /* * translate between inode numbers and contents. */ +#include +#include + +RCSID("$Header$"); + #include #include #include "../../util/afsutil.h" diff --git a/src/vol/test/nsubr.c b/src/vol/test/nsubr.c index 5bdb2f8ada..ad2d388a60 100644 --- a/src/vol/test/nsubr.c +++ b/src/vol/test/nsubr.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #ifdef AFS_NAMEI_ENV #include #include diff --git a/src/vol/test/testpart.c b/src/vol/test/testpart.c index e6f0335e0b..3f5a8fd079 100644 --- a/src/vol/test/testpart.c +++ b/src/vol/test/testpart.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include Log(a, b, c, d, e, f, g, h, i, j, k) diff --git a/src/vol/test/updateDirInode.c b/src/vol/test/updateDirInode.c index a44631dfd8..253c07af96 100644 --- a/src/vol/test/updateDirInode.c +++ b/src/vol/test/updateDirInode.c @@ -15,6 +15,10 @@ ** */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/vol/test/utilities.c b/src/vol/test/utilities.c index 857a241c1a..7de02382ae 100644 --- a/src/vol/test/utilities.c +++ b/src/vol/test/utilities.c @@ -7,6 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ +#include +#include + +RCSID("$Header$"); + #include #include diff --git a/src/vol/viceinode.h b/src/vol/viceinode.h index f0c810dda9..015d673fb8 100644 --- a/src/vol/viceinode.h +++ b/src/vol/viceinode.h @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS) -#endif /* System: VICE-TWO Module: viceinode.h diff --git a/src/vol/vnode.c b/src/vol/vnode.c index 5cccda9dab..d62a386100 100644 --- a/src/vol/vnode.c +++ b/src/vol/vnode.c @@ -14,6 +14,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #ifdef AFS_PTHREAD_ENV diff --git a/src/vol/vnode.h b/src/vol/vnode.h index 0baf1b0f6a..2901eb0d9e 100644 --- a/src/vol/vnode.h +++ b/src/vol/vnode.h @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS) -#endif /* System: VICE-TWO Module: vnode.h diff --git a/src/vol/vol-info.c b/src/vol/vol-info.c index 770f06d2d2..d42422952e 100644 --- a/src/vol/vol-info.c +++ b/src/vol/vol-info.c @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif /* System: VICE-TWO Module: vol-info.c @@ -17,6 +15,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/vol/vol-salvage.c b/src/vol/vol-salvage.c index 5bed33b0ea..ce75f8be09 100644 --- a/src/vol/vol-salvage.c +++ b/src/vol/vol-salvage.c @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif /* * System: VICE-TWO * Module: vol-salvage.c @@ -91,6 +89,10 @@ Vnodes with 0 inode pointers in RW volumes are now deleted. #define MAIN 1 #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/vol/voldefs.h b/src/vol/voldefs.h index 5aa3da52f1..7c77d372c3 100644 --- a/src/vol/voldefs.h +++ b/src/vol/voldefs.h @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS) -#endif /* System: VICE-TWO Module: voldefs.h diff --git a/src/vol/volinodes.h b/src/vol/volinodes.h index 2952a60305..93f0ba7191 100644 --- a/src/vol/volinodes.h +++ b/src/vol/volinodes.h @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS) -#endif /* System: VICE-TWO Module: volinodes.h diff --git a/src/vol/volume.c b/src/vol/volume.c index dbb620a5a5..d15b62928e 100644 --- a/src/vol/volume.c +++ b/src/vol/volume.c @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif /* 1/1/89: NB: this stuff is all going to be replaced. Don't take it too seriously */ /* @@ -19,6 +17,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/vol/volume.h b/src/vol/volume.h index ca41b3189e..cd155457b5 100644 --- a/src/vol/volume.h +++ b/src/vol/volume.h @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS) -#endif /* System: VICE-TWO Module: volume.h diff --git a/src/vol/vutil.c b/src/vol/vutil.c index 83b97b3343..b943248084 100644 --- a/src/vol/vutil.c +++ b/src/vol/vutil.c @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif /* System: VICE-TWO Module: vutil.c @@ -17,6 +15,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/vol/vutils.h b/src/vol/vutils.h index 6763572553..b513d3bf31 100644 --- a/src/vol/vutils.h +++ b/src/vol/vutils.h @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS) -#endif /* System: VICE-TWO Module: vutils.h diff --git a/src/vol/xfs_size_check.c b/src/vol/xfs_size_check.c index 74aa0acd22..d64166b535 100644 --- a/src/vol/xfs_size_check.c +++ b/src/vol/xfs_size_check.c @@ -9,6 +9,10 @@ /* Verify that the size of the XFS inode is large enough to hold the XFS * attribute for AFS inode parameters. Check all the mounted /vicep partitions. +#include + +RCSID("$Header$"); + */ #include #ifdef AFS_SGI_XFS_IOPS_ENV diff --git a/src/volser/Makefile b/src/volser/Makefile index 629f42775f..ddfc16899e 100644 --- a/src/volser/Makefile +++ b/src/volser/Makefile @@ -10,7 +10,8 @@ COMPONENT=volser include ../config/Makefile.${SYS_NAME} COMPILE_ET=${SRCDIR}bin/compile_et -CFLAGS=${DBG} ${OPTMZ} -I${SRCDIR}include ${XCFLAGS} ${DBG_DEFS} +CFLAGS=${DBG} ${OPTMZ} -I${TOP_SRCDIR}/config -I${SRCDIR}include \ + ${XCFLAGS} ${DBG_DEFS} LDFLAGS=${DBG} ${OPTMZ} ${XLDFLAGS} INCDIRS= -I${TOP_SRCDIR}/config -I${SRCDIR}include/afs -I${SRCDIR}include diff --git a/src/volser/common.c b/src/volser/common.c index ac35d5280f..89187db50a 100644 --- a/src/volser/common.c +++ b/src/volser/common.c @@ -7,9 +7,11 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#ifndef lint -#endif #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/volser/dump.h b/src/volser/dump.h index 6f2b9452f5..48e0002bcb 100644 --- a/src/volser/dump.h +++ b/src/volser/dump.h @@ -7,8 +7,6 @@ * directory or online at http://www.openafs.org/dl/license10.html */ -#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS) -#endif /* System: Volser Module: dump.h diff --git a/src/volser/dumpstuff.c b/src/volser/dumpstuff.c index e44971ffd7..1c55e2f89f 100644 --- a/src/volser/dumpstuff.c +++ b/src/volser/dumpstuff.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/volser/lockprocs.c b/src/volser/lockprocs.c index ddb3362478..ee74244db7 100644 --- a/src/volser/lockprocs.c +++ b/src/volser/lockprocs.c @@ -15,6 +15,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/volser/physio.c b/src/volser/physio.c index 992808eb73..369c0db101 100644 --- a/src/volser/physio.c +++ b/src/volser/physio.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/volser/restorevol.c b/src/volser/restorevol.c index 19fd8e3e29..02214e7679 100644 --- a/src/volser/restorevol.c +++ b/src/volser/restorevol.c @@ -40,6 +40,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/volser/volmain.c b/src/volser/volmain.c index b2d87115a9..7a50b3aad1 100644 --- a/src/volser/volmain.c +++ b/src/volser/volmain.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/volser/volprocs.c b/src/volser/volprocs.c index 554b40fa39..e4975c9f61 100644 --- a/src/volser/volprocs.c +++ b/src/volser/volprocs.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/volser/voltrans.c b/src/volser/voltrans.c index 696660229c..2660389218 100644 --- a/src/volser/voltrans.c +++ b/src/volser/voltrans.c @@ -15,6 +15,10 @@ */ #include +#include + +RCSID("$Header$"); + #ifdef AFS_NT40_ENV #include #else diff --git a/src/volser/vos.c b/src/volser/vos.c index a27f4b744b..d4164fafcd 100644 --- a/src/volser/vos.c +++ b/src/volser/vos.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/volser/vsprocs.c b/src/volser/vsprocs.c index 526dac1147..f228cfd73f 100644 --- a/src/volser/vsprocs.c +++ b/src/volser/vsprocs.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #include #include diff --git a/src/volser/vsutils.c b/src/volser/vsutils.c index f4ebab26da..a56048fe96 100644 --- a/src/volser/vsutils.c +++ b/src/volser/vsutils.c @@ -8,6 +8,10 @@ */ #include +#include + +RCSID("$Header$"); + #include #ifdef AFS_NT40_ENV #include diff --git a/src/xstat/Makefile b/src/xstat/Makefile index 5d487b6a86..73a471688d 100644 --- a/src/xstat/Makefile +++ b/src/xstat/Makefile @@ -12,6 +12,7 @@ COMPONENT=xstat include ../config/Makefile.${SYS_NAME} CFLAGS= ${DBUG} -I. \ + -I${TOP_SRCDIR}/config \ -I${SRCDIR}include \ -I${SRCDIR}include/afs \ -I${SRCDIR} \ diff --git a/src/xstat/xstat_cm.c b/src/xstat/xstat_cm.c index d0fb234f87..37503a8a66 100644 --- a/src/xstat/xstat_cm.c +++ b/src/xstat/xstat_cm.c @@ -15,6 +15,10 @@ *------------------------------------------------------------------------*/ #include +#include + +RCSID("$Header$"); + #include "xstat_cm.h" /*Interface for this module*/ #include /*Lightweight process package*/ diff --git a/src/xstat/xstat_cm_test.c b/src/xstat/xstat_cm_test.c index 289bf8fc89..7146afa4a1 100644 --- a/src/xstat/xstat_cm_test.c +++ b/src/xstat/xstat_cm_test.c @@ -13,6 +13,11 @@ * *------------------------------------------------------------------------*/ +#include +#include + +RCSID("$Header$"); + #include "xstat_cm.h" /*Interface for xstat_cm module*/ #include /*Command line interpreter*/ #include diff --git a/src/xstat/xstat_fs.c b/src/xstat/xstat_fs.c index f06795e8d9..8ee25aa106 100644 --- a/src/xstat/xstat_fs.c +++ b/src/xstat/xstat_fs.c @@ -15,6 +15,10 @@ *------------------------------------------------------------------------*/ #include +#include + +RCSID("$Header$"); + #include "xstat_fs.h" /*Interface for this module*/ #include /*Lightweight process package*/ diff --git a/src/xstat/xstat_fs_callback.c b/src/xstat/xstat_fs_callback.c index c5549bd61a..de796f9df7 100644 --- a/src/xstat/xstat_fs_callback.c +++ b/src/xstat/xstat_fs_callback.c @@ -22,6 +22,11 @@ * need to be ``visible'' to anyone else. *------------------------------------------------------------------------*/ +#include +#include + +RCSID("$Header$"); + #include #include /*Standard I/O stuff*/ #include /*Callback interface defs*/ diff --git a/src/xstat/xstat_fs_test.c b/src/xstat/xstat_fs_test.c index 528dab028d..8f4c9f2b73 100644 --- a/src/xstat/xstat_fs_test.c +++ b/src/xstat/xstat_fs_test.c @@ -13,6 +13,11 @@ * *------------------------------------------------------------------------*/ +#include +#include + +RCSID("$Header$"); + #include "xstat_fs.h" /*Interface for xstat_fs module*/ #include /*Command line interpreter*/ #include