From e7ec0d4213853117dc463a3629651e280c6cf0fa Mon Sep 17 00:00:00 2001 From: Nathan Neulinger Date: Thu, 5 Jul 2001 16:20:00 +0000 Subject: [PATCH] afsconfig-and-rcsid-all-around-20010705 convert rest of source to afsconfig; include rcsid macros ==================== This delta was composed from multiple commits as part of the CVS->Git migration. The checkin message with each commit was inconsistent. The following are the additional commit messages. ==================== remove bogus if/define/endif triple ==================== revert non-rcsid and afsconfig portion of patch --- src/afs/AIX/osi_config.c | 5 +- src/afs/AIX/osi_file.c | 4 + src/afs/AIX/osi_groups.c | 4 + src/afs/AIX/osi_inode.c | 4 + src/afs/AIX/osi_misc.c | 4 + src/afs/AIX/osi_sleep.c | 4 + src/afs/AIX/osi_timeout.c | 4 + src/afs/AIX/osi_vfsops.c | 4 + src/afs/AIX/osi_vm.c | 4 + src/afs/AIX/osi_vnodeops.c | 4 + src/afs/DARWIN/osi_file.c | 4 + src/afs/DARWIN/osi_groups.c | 4 + src/afs/DARWIN/osi_inode.c | 4 + src/afs/DARWIN/osi_misc.c | 4 + src/afs/DARWIN/osi_module.c | 4 + src/afs/DARWIN/osi_sleep.c | 4 + src/afs/DARWIN/osi_vfsops.c | 4 + src/afs/DARWIN/osi_vm.c | 4 + src/afs/DARWIN/osi_vnodeops.c | 4 + src/afs/DUX/osi_file.c | 4 + src/afs/DUX/osi_groups.c | 4 + src/afs/DUX/osi_inode.c | 4 + src/afs/DUX/osi_misc.c | 4 + src/afs/DUX/osi_sleep.c | 4 + src/afs/DUX/osi_vfsops.c | 4 + src/afs/DUX/osi_vm.c | 4 + src/afs/DUX/osi_vnodeops.c | 4 + src/afs/FBSD/osi_file.c | 4 + src/afs/FBSD/osi_groups.c | 4 + src/afs/FBSD/osi_inode.c | 4 + src/afs/FBSD/osi_misc.c | 4 + src/afs/FBSD/osi_sleep.c | 4 + src/afs/FBSD/osi_vfsops.c | 4 + src/afs/FBSD/osi_vm.c | 4 + src/afs/FBSD/osi_vnodeops.c | 4 + src/afs/HPUX/osi_debug.c | 4 + src/afs/HPUX/osi_file.c | 4 + src/afs/HPUX/osi_groups.c | 4 + src/afs/HPUX/osi_inode.c | 4 + src/afs/HPUX/osi_misc.c | 4 + src/afs/HPUX/osi_sleep.c | 4 + src/afs/HPUX/osi_vfsops.c | 4 + src/afs/HPUX/osi_vm.c | 4 + src/afs/HPUX/osi_vnodeops.c | 4 + src/afs/IRIX/osi_file.c | 4 + src/afs/IRIX/osi_groups.c | 4 + src/afs/IRIX/osi_idbg.c | 4 + src/afs/IRIX/osi_inode.c | 4 + src/afs/IRIX/osi_misc.c | 4 + src/afs/IRIX/osi_sleep.c | 4 + src/afs/IRIX/osi_vfsops.c | 4 + src/afs/IRIX/osi_vm.c | 4 + src/afs/IRIX/osi_vnodeops.c | 6 +- src/afs/LINUX/osi_alloc.c | 4 + src/afs/LINUX/osi_cred.c | 4 + src/afs/LINUX/osi_file.c | 4 + src/afs/LINUX/osi_groups.c | 4 + src/afs/LINUX/osi_inode.c | 4 + src/afs/LINUX/osi_misc.c | 4 + src/afs/LINUX/osi_module.c | 4 + src/afs/LINUX/osi_sleep.c | 4 + src/afs/LINUX/osi_vfsops.c | 4 + src/afs/LINUX/osi_vm.c | 4 + src/afs/LINUX/osi_vnodeops.c | 4 + src/afs/SOLARIS/osi_file.c | 4 + src/afs/SOLARIS/osi_groups.c | 4 + src/afs/SOLARIS/osi_inode.c | 4 + src/afs/SOLARIS/osi_sleep.c | 4 + src/afs/SOLARIS/osi_vfsops.c | 4 + src/afs/SOLARIS/osi_vm.c | 4 + src/afs/SOLARIS/osi_vnodeops.c | 4 + src/afs/UKERNEL/afs_usrops.c | 4 + src/afs/UKERNEL/osi_groups.c | 4 + src/afs/UKERNEL/osi_vfsops.c | 4 + src/afs/UKERNEL/osi_vm.c | 4 + src/afs/UKERNEL/osi_vnodeops.c | 4 + src/afs/VNOPS/afs_vnop_access.c | 4 + src/afs/VNOPS/afs_vnop_attrs.c | 4 + src/afs/VNOPS/afs_vnop_create.c | 4 + src/afs/VNOPS/afs_vnop_dirops.c | 4 + src/afs/VNOPS/afs_vnop_fid.c | 4 + src/afs/VNOPS/afs_vnop_flock.c | 4 + src/afs/VNOPS/afs_vnop_link.c | 4 + src/afs/VNOPS/afs_vnop_lookup.c | 4 + src/afs/VNOPS/afs_vnop_open.c | 4 + src/afs/VNOPS/afs_vnop_read.c | 4 + src/afs/VNOPS/afs_vnop_readdir.c | 4 + src/afs/VNOPS/afs_vnop_remove.c | 4 + src/afs/VNOPS/afs_vnop_rename.c | 4 + src/afs/VNOPS/afs_vnop_strategy.c | 4 + src/afs/VNOPS/afs_vnop_symlink.c | 4 + src/afs/VNOPS/afs_vnop_write.c | 4 + src/afs/afs_analyze.c | 4 + src/afs/afs_axscache.c | 4 + src/afs/afs_buffer.c | 4 + src/afs/afs_call.c | 4 + src/afs/afs_callback.c | 4 + src/afs/afs_cbqueue.c | 4 + src/afs/afs_cell.c | 4 + src/afs/afs_chunk.c | 4 + src/afs/afs_conn.c | 4 + src/afs/afs_daemons.c | 4 + src/afs/afs_dcache.c | 4 + src/afs/afs_exporter.c | 4 + src/afs/afs_init.c | 4 + src/afs/afs_lock.c | 6 +- src/afs/afs_mariner.c | 4 + src/afs/afs_memcache.c | 4 + src/afs/afs_nfsclnt.c | 4 + src/afs/afs_osi.c | 4 + src/afs/afs_osi.h | 1 - src/afs/afs_osi_alloc.c | 4 + src/afs/afs_osi_pag.c | 4 + src/afs/afs_osi_uio.c | 4 + src/afs/afs_osi_vget.c | 4 + src/afs/afs_osidnlc.c | 4 + src/afs/afs_pioctl.c | 4 + src/afs/afs_segments.c | 4 + src/afs/afs_server.c | 4 + src/afs/afs_stat.c | 4 + src/afs/afs_user.c | 4 + src/afs/afs_util.c | 4 + src/afs/afs_vcache.c | 4 + src/afs/afs_volume.c | 4 + src/afs/lock.h | 3 - src/afs/voldefs.h | 2 - src/afsd/afsd.c | 7 +- src/afsd/vsys.c | 4 + src/afsmonitor/afsmon-output.c | 4 + src/afsmonitor/afsmon-parselog.c | 4 + src/afsmonitor/afsmon-win.c | 9 +- src/afsmonitor/afsmonitor.c | 9 +- src/afsweb/apache_afs_cache.c | 4 + src/afsweb/apache_afs_utils.h | 1 - src/afsweb/nsafs.c | 4 + src/afsweb/securehash.c | 19 +-- src/afsweb/weblog.c | 4 + src/audit/Makefile | 2 +- src/audit/audit.c | 4 + src/auth/authcon.c | 9 +- src/auth/cellconfig.c | 3 + src/auth/copyauth.c | 4 + src/auth/ktc.c | 10 +- src/auth/ktc_nt.c | 4 + src/auth/setkey.c | 3 + src/auth/test/ktctest.c | 4 + src/auth/test/testcellconf.c | 4 + src/auth/userok.c | 16 +- src/auth/writeconfig.c | 4 + src/bozo/Makefile | 2 +- src/bozo/bnode.c | 4 + src/bozo/bos.c | 4 + src/bozo/bosoprocs.c | 4 + src/bozo/bosserver.c | 4 + src/bozo/cronbnodeops.c | 4 + src/bozo/ezbnodeops.c | 4 + src/bozo/fsbnodeops.c | 4 + src/bozo/smail-notifier.c | 4 + src/bu_utils/Makefile | 3 +- src/bu_utils/fms.c | 4 + src/bubasics/Makefile | 2 +- src/bubasics/butm.p.h | 1 - src/bucoord/Makefile | 3 +- src/bucoord/bc_status.c | 4 + src/bucoord/commands.c | 4 + src/bucoord/config.c | 4 + src/bucoord/dlq.c | 4 + src/bucoord/dsstub.c | 4 + src/bucoord/dsvs.c | 4 + src/bucoord/dump.c | 4 + src/bucoord/dump_sched.c | 4 + src/bucoord/expire.c | 4 + src/bucoord/main.c | 4 + src/bucoord/regex.c | 4 - src/bucoord/restore.c | 4 + src/bucoord/server.c | 4 + src/bucoord/status.c | 4 + src/bucoord/tape_hosts.c | 4 + src/bucoord/ubik_db_if.c | 4 + src/bucoord/vol_sets.c | 4 + src/bucoord/volstub.c | 4 + src/budb/Makefile | 2 +- src/budb/database.c | 4 + src/budb/db_alloc.c | 4 + src/budb/db_dump.c | 4 + src/budb/db_hash.c | 4 + src/budb/db_lock.c | 4 + src/budb/db_text.c | 4 + src/budb/dbs_dump.c | 4 + src/budb/ol_verify.c | 4 + src/budb/procs.c | 4 + src/budb/server.c | 4 + src/budb/struct_ops.c | 4 + src/butc/Makefile | 3 +- src/butc/butc_xbsa.c | 4 + src/butc/dbentries.c | 4 + src/butc/dump.c | 4 + src/butc/list.c | 4 + src/butc/lwps.c | 4 + src/butc/read_tape.c | 4 + src/butc/recoverDb.c | 4 + src/butc/tcmain.c | 4 + src/butc/tcprocs.c | 4 + src/butc/tcstatus.c | 4 + src/butc/tcudbprocs.c | 4 + src/butc/test_budb.c | 4 + src/butm/Makefile | 2 +- src/butm/butm_test.c | 4 + src/butm/file_tm.c | 4 + src/butm/test_ftm.c | 4 + src/cmd/Makefile | 6 +- src/cmd/cmd.c | 5 + src/cmd/cmd.p.h | 1 - src/cmd/test/ctest.c | 5 + src/cmd/test/dtest.c | 5 + src/cmd/test/itest.c | 5 + src/comerr/Makefile | 2 +- src/comerr/com_err.c | 5 + src/comerr/compile_et.c | 4 + src/comerr/error_msg.c | 5 + src/comerr/error_table.y | 48 +++--- src/comerr/error_table_nt.c | 4 + src/comerr/et_lex.lex.l | 3 - src/comerr/et_lex.lex_nt.c | 3 - src/comerr/et_name.c | 5 + src/comerr/internal.h | 1 - src/comerr/test/test.c | 4 + src/config/param.alpha_dux40.h | 6 +- src/config/param.alpha_dux40_usr.h | 6 +- src/config/param.alpha_dux50.h | 6 +- src/config/param.alpha_dux50_usr.h | 6 +- src/config/param.hp_ux102.h | 6 +- src/config/param.hp_ux102_usr.h | 6 +- src/config/param.hp_ux110.h | 6 +- src/config/param.hp_ux110_usr.h | 6 +- src/config/param.i386_djgpp.h | 6 +- src/config/param.i386_djgpp_usr.h | 6 +- src/config/param.i386_fbsd_42.h | 6 +- src/config/param.i386_fbsd_42_usr.h | 6 +- src/config/param.i386_linux22.h | 6 +- src/config/param.i386_linux22_usr.h | 6 +- src/config/param.i386_linux24.h | 6 +- src/config/param.i386_linux24_usr.h | 6 +- src/config/param.i386_nt40.h | 6 +- src/config/param.i386_win95.h | 6 +- src/config/param.ppc_darwin_12.h | 6 +- src/config/param.ppc_darwin_12_usr.h | 6 +- src/config/param.ppc_darwin_13.h | 6 +- src/config/param.ppc_darwin_13_usr.h | 6 +- src/config/param.ppc_linux22.h | 6 +- src/config/param.ppc_linux22_usr.h | 6 +- src/config/param.ppc_linux24.h | 6 +- src/config/param.ppc_linux24_usr.h | 6 +- src/config/param.rs_aix42.h | 6 +- src/config/param.rs_aix42_usr.h | 6 +- src/config/param.s390_linux22.h | 6 +- src/config/param.s390_linux22_usr.h | 6 +- src/config/param.s390_linux24.h | 6 +- src/config/param.s390_linux24_usr.h | 6 +- src/config/param.sgi_62.h | 6 +- src/config/param.sgi_62_usr.h | 6 +- src/config/param.sgi_63.h | 6 +- src/config/param.sgi_63_usr.h | 6 +- src/config/param.sgi_64.h | 6 +- src/config/param.sgi_64_usr.h | 6 +- src/config/param.sgi_65.h | 6 +- src/config/param.sgi_65_usr.h | 6 +- src/config/param.sparc64_linux22.h | 6 +- src/config/param.sparc64_linux22_usr.h | 6 +- src/config/param.sparc_linux22.h | 6 +- src/config/param.sparc_linux22_usr.h | 6 +- src/config/param.sun4x_55.h | 6 +- src/config/param.sun4x_55_usr.h | 6 +- src/config/param.sun4x_56.h | 6 +- src/config/param.sun4x_56_usr.h | 6 +- src/config/param.sun4x_57.h | 6 +- src/config/param.sun4x_57_usr.h | 6 +- src/config/param.sun4x_58.h | 6 +- src/config/param.sun4x_58_usr.h | 6 +- src/config/param.sunx86_54.h | 6 +- src/config/stds.h | 6 - src/config/util_cr.c | 2 +- src/config/venus.h | 2 - src/dauth/Makefile | 2 +- src/dauth/dlog.c | 4 + src/dauth/dpass.c | 4 + src/des/andrew-conf.h | 2 - src/des/cbc_encrypt.c | 4 + src/des/cksum.c | 4 + src/des/crypt.c | 7 +- src/des/debug_decl.c | 5 + src/des/des.c | 7 +- src/des/enc.c | 7 +- src/des/key_parity.c | 5 + src/des/key_sched.c | 5 + src/des/make_e.c | 7 +- src/des/make_fp.c | 5 + src/des/make_ip.c | 5 + src/des/make_keyperm.c | 5 + src/des/make_odd.c | 5 + src/des/make_p.c | 5 + src/des/make_p_table.c | 5 + src/des/make_s.c | 5 + src/des/make_s_table.c | 5 + src/des/misc.c | 5 + src/des/new_rnd_key.c | 4 + src/des/pcbc_encrypt.c | 4 + src/des/quad_cksum.c | 5 + src/des/read_pssword.c | 4 + src/des/strng_to_key.c | 4 + src/des/test/key_test.c | 5 + src/des/test/testit.c | 4 + src/des/test/verify.c | 4 + src/des/util.c | 5 + src/des/weak_key.c | 5 + src/dir/buffer.c | 4 + src/dir/dir.c | 4 + src/dir/salvage.c | 6 +- src/dir/test/dtest.c | 6 +- src/dir/test/physio.c | 4 + src/dir/test/test-salvage.c | 7 +- src/export/cfgafs.c | 5 + src/export/cfgexport.c | 5 + src/export/export.c | 5 + src/export/symtab.c | 5 + src/finale/Makefile | 2 +- src/finale/translate_et.c | 28 +--- src/finale/translate_et_nt.c | 4 + src/fsint/Makefile | 2 +- src/fsint/afsaux.c | 11 +- src/fsprobe/Makefile | 1 + src/fsprobe/fsprobe.c | 4 + src/fsprobe/fsprobe_callback.c | 4 + src/fsprobe/fsprobe_test.c | 5 + src/ftpd43+/ftpcmd.y | 4 - src/ftpd43+/ftpd.c | 10 -- src/ftpd43+/getusershell.c | 4 - src/ftpd43+/glob.c | 4 - src/ftpd43+/logwtmp.c | 5 - src/ftpd43+/popen.c | 5 - src/ftpd43+/telnet.h | 3 - src/gtx/Makefile | 3 +- src/gtx/X11windows.c | 5 + src/gtx/cb_test.c | 5 + src/gtx/curses_test.c | 5 + src/gtx/curseswindows.c | 4 + src/gtx/dumbwindows.c | 5 + src/gtx/frame.c | 4 + src/gtx/gtxtest.c | 4 + src/gtx/input.c | 4 + src/gtx/keymap.c | 4 + src/gtx/lightobject.c | 4 + src/gtx/objdict.c | 5 + src/gtx/object_test.c | 5 + src/gtx/objects.c | 4 + src/gtx/screen_test.c | 5 + src/gtx/textcb.c | 4 + src/gtx/textobject.c | 4 + src/gtx/windows.c | 5 + src/inetd/Makefile | 2 +- src/inetd/getenv.c | 8 +- src/inetd/inetd.c | 14 +- src/inetd/setenv.c | 7 +- src/inetd/ta-rauth.c | 4 + src/kauth/Makefile | 2 +- src/kauth/admin_tools.c | 4 + src/kauth/authclient.c | 25 +--- src/kauth/client.c | 9 +- src/kauth/decode_ticket.c | 5 + src/kauth/kaaux.c | 22 +-- src/kauth/kaauxdb.c | 4 + src/kauth/kadatabase.c | 4 + src/kauth/kalocalcell.c | 27 +--- src/kauth/kalog.c | 4 + src/kauth/kaprocs.c | 4 + src/kauth/kas.c | 4 + src/kauth/kaserver.c | 16 +- src/kauth/kautils.c | 20 +-- src/kauth/kdb.c | 4 + src/kauth/kkids.c | 4 + src/kauth/klog.c | 29 +--- src/kauth/klogin.c | 14 +- src/kauth/knfs.c | 4 + src/kauth/kpasswd.c | 4 + src/kauth/kpwvalid.c | 4 + src/kauth/krb_tf.c | 4 + src/kauth/krb_udp.c | 4 + src/kauth/manyklog.c | 28 +--- src/kauth/read_passwd.c | 4 + src/kauth/rebuild.c | 4 + src/kauth/test/background.c | 5 + src/kauth/test/multiklog.c | 4 + src/kauth/test/test_badtix.c | 57 +------- src/kauth/test/test_date.c | 4 + src/kauth/test/test_getticket.c | 4 + src/kauth/test/test_interim_ktc.c | 4 + src/kauth/test/test_rxkad_free.c | 4 + src/kauth/token.c | 22 +-- src/kauth/user.c | 9 +- src/kauth/user_nt.c | 4 + src/libacl/Makefile | 3 +- src/libacl/aclprocs.c | 4 + src/libacl/netprocs.c | 4 + src/libacl/test/acltest.c | 4 + src/libadmin/adminutil/Makefile | 2 +- src/libadmin/adminutil/afs_utilAdmin.c | 5 + src/libadmin/bos/Makefile | 2 +- src/libadmin/bos/afs_bosAdmin.c | 5 + src/libadmin/cfg/Makefile | 2 +- src/libadmin/cfg/cfgclient.c | 4 + src/libadmin/cfg/cfgdb.c | 4 + src/libadmin/cfg/cfghost.c | 4 + src/libadmin/cfg/cfginternal.c | 4 + src/libadmin/cfg/cfgservers.c | 4 + src/libadmin/cfg/test/cfgtest.c | 4 + src/libadmin/client/Makefile | 2 +- src/libadmin/client/afs_clientAdmin.c | 5 + src/libadmin/kas/Makefile | 2 +- src/libadmin/kas/afs_kasAdmin.c | 5 + src/libadmin/pts/Makefile | 2 +- src/libadmin/pts/afs_ptsAdmin.c | 5 + src/libadmin/samples/Makefile | 2 +- src/libadmin/samples/cm_client_config.c | 5 + src/libadmin/samples/cm_list_cells.c | 5 + src/libadmin/samples/cm_local_cell.c | 5 + src/libadmin/samples/cm_server_prefs.c | 5 + src/libadmin/samples/rxdebug_basic_stats.c | 5 + src/libadmin/samples/rxdebug_conns.c | 5 + src/libadmin/samples/rxdebug_peers.c | 5 + src/libadmin/samples/rxdebug_rx_stats.c | 5 + .../samples/rxdebug_supported_stats.c | 5 + src/libadmin/samples/rxdebug_version.c | 5 + src/libadmin/samples/rxstat_clear_peer.c | 5 + src/libadmin/samples/rxstat_clear_process.c | 5 + src/libadmin/samples/rxstat_disable_peer.c | 5 + src/libadmin/samples/rxstat_disable_process.c | 5 + src/libadmin/samples/rxstat_enable_peer.c | 5 + src/libadmin/samples/rxstat_enable_process.c | 5 + src/libadmin/samples/rxstat_get_peer.c | 5 + src/libadmin/samples/rxstat_get_process.c | 5 + src/libadmin/samples/rxstat_get_version.c | 5 + src/libadmin/samples/rxstat_query_peer.c | 5 + src/libadmin/samples/rxstat_query_process.c | 5 + src/libadmin/test/Makefile | 2 +- src/libadmin/test/afscp.c | 4 + src/libadmin/test/bos.c | 5 + src/libadmin/test/bos.h | 1 - src/libadmin/test/client.c | 5 + src/libadmin/test/client.h | 1 - src/libadmin/test/kas.c | 9 +- src/libadmin/test/kas.h | 1 - src/libadmin/test/pts.c | 5 + src/libadmin/test/pts.h | 1 - src/libadmin/test/util.c | 5 + src/libadmin/test/util.h | 1 - src/libadmin/test/vos.c | 5 + src/libadmin/test/vos.h | 1 - src/libadmin/vos/afs_vosAdmin.c | 3 + src/libadmin/vos/lockprocs.c | 5 + src/libadmin/vos/lockprocs.h | 2 - src/libadmin/vos/vosutils.c | 5 + src/libadmin/vos/vosutils.h | 2 - src/libadmin/vos/vsprocs.c | 5 + src/libadmin/vos/vsprocs.h | 2 - src/libuafs/Makefile.common | 2 +- src/libuafs/linktest.c | 5 + src/log/Makefile | 2 +- src/log/kseal.c | 4 + src/log/test/gettoktest.c | 5 + src/log/test/testlog.c | 5 + src/log/tokens.c | 6 +- src/log/unlog.c | 6 +- src/login/getenv.c | 8 +- src/login/login.c | 10 +- src/login/setenv.c | 7 +- src/login/util_login.c | 9 +- src/login/util_logout.c | 8 +- src/login/util_logwtmp.c | 8 +- src/lwp/fasttime.c | 6 +- src/lwp/iomgr.c | 6 +- src/lwp/lock.c | 6 +- src/lwp/lock.h | 2 - src/lwp/lwp.c | 5 + src/lwp/lwp.h | 2 - src/lwp/lwp_nt.c | 4 + src/lwp/preempt.c | 6 +- src/lwp/preempt.h | 2 - src/lwp/process.c | 6 +- src/lwp/rw.c | 6 +- src/lwp/test/selclient.c | 4 + src/lwp/test/selserver.c | 4 + src/lwp/test/selsubs.c | 4 + src/lwp/test/test.c | 5 + src/lwp/test/test_key.c | 4 + src/lwp/test/testlwp.c | 5 + src/lwp/test/testtime.c | 5 + src/lwp/threadname.c | 3 + src/lwp/timer.c | 6 +- src/lwp/timer.h | 2 - src/lwp/waitkey.c | 4 + src/ntp/Makefile | 2 +- src/ntp/mkntpconf.c | 23 +-- src/ntp/ntp.c | 81 +---------- src/ntp/ntp.h | 92 ------------ src/ntp/ntp_adjust.c | 89 +----------- src/ntp/ntp_proto.c | 126 +--------------- src/ntp/ntp_sock.c | 56 +------ src/ntp/ntpd.c | 137 +----------------- src/ntp/ntpdc.c | 94 +----------- src/ntp/ntpsubs.c | 57 +------- src/ntp/read_local.c | 5 + src/ntp/read_psti.c | 9 +- src/ntp/runntp.c | 4 + src/ntp/test.c | 65 +-------- src/package/Makefile | 2 +- src/package/conftree.c | 1 + src/package/lex.l | 5 + src/package/misc.c | 2 +- src/package/package.h | 1 - src/package/systype.h | 2 - src/package/validupdates.h | 1 - src/pam/Makefile | 3 +- src/pam/afs_account.c | 5 + src/pam/afs_auth.c | 6 +- src/pam/afs_message.c | 4 + src/pam/afs_pam_msg.c | 5 + src/pam/afs_password.c | 4 + src/pam/afs_session.c | 5 + src/pam/afs_setcred.c | 4 + src/pam/afs_util.c | 4 + src/pam/test_pam.c | 4 + src/pinstall/Makefile | 2 +- src/pinstall/install.c | 7 +- src/procmgmt/Makefile | 2 +- src/procmgmt/afskill.c | 4 + src/procmgmt/procmgmt_nt.c | 4 + src/procmgmt/procmgmt_unix.c | 4 + src/procmgmt/redirect_nt.c | 4 + src/procmgmt/test/pmgttest.c | 4 + src/ptserver/db_verify.c | 4 + src/ptserver/display.c | 4 + src/ptserver/pt_util.c | 4 + src/ptserver/ptclient.c | 4 + src/ptserver/ptprocs.c | 4 + src/ptserver/pts.c | 6 +- src/ptserver/ptserver.c | 4 + src/ptserver/ptuser.c | 11 +- src/ptserver/ptutils.c | 4 + src/ptserver/readgroup.c | 4 + src/ptserver/readpwd.c | 4 + src/ptserver/testpt.c | 6 +- src/ptserver/ubik.c | 5 + src/ptserver/utils.c | 6 +- src/rcp/Makefile | 2 +- src/rcp/rcp.c | 14 +- src/rlogind/Makefile | 2 +- src/rlogind/rexecd.c | 15 +- src/rlogind/rlogind.c | 13 +- src/rsh/Makefile | 2 +- src/rsh/herror.c | 8 +- src/rsh/rcmd.c | 8 +- src/rsh/rlogin.c | 14 +- src/rsh/rsh.c | 12 +- src/rx/AIX/rx_kmutex.h | 1 - src/rx/AIX/rx_knet.c | 4 + src/rx/DARWIN/rx_knet.c | 4 + src/rx/DUX/rx_knet.c | 4 + src/rx/FBSD/rx_knet.c | 4 + src/rx/HPUX/rx_knet.c | 4 + src/rx/IRIX/rx_knet.c | 4 + src/rx/LINUX/rx_knet.c | 4 + src/rx/SOLARIS/rx_knet.c | 4 + src/rx/UKERNEL/rx_knet.c | 4 + src/rx/bulk.example/bulk_client.c | 5 + src/rx/bulk.example/bulk_io.c | 5 + src/rx/bulk.example/bulk_server.c | 5 + src/rx/bulktest/bulk_client.c | 5 + src/rx/bulktest/bulk_io.c | 5 + src/rx/bulktest/bulk_server.c | 5 + src/rx/multi.example/sample_client.c | 5 + src/rx/multi.example/sample_server.c | 5 + src/rx/rx.c | 9 +- src/rx/rx_clock.c | 9 +- src/rx/rx_clock_nt.c | 4 + src/rx/rx_conncache.c | 11 +- src/rx/rx_event.c | 9 +- src/rx/rx_getaddr.c | 7 +- src/rx/rx_globals.c | 14 +- src/rx/rx_kcommon.c | 4 + src/rx/rx_lwp.c | 4 + src/rx/rx_misc.c | 3 + src/rx/rx_multi.c | 3 + src/rx/rx_null.c | 9 +- src/rx/rx_packet.c | 9 +- src/rx/rx_pthread.c | 22 +-- src/rx/rx_rdwr.c | 11 +- src/rx/rx_stream.c | 9 ++ src/rx/rx_trace.c | 6 +- src/rx/rx_user.c | 7 +- src/rx/rx_xmit_nt.c | 4 + src/rx/rxdebug.c | 5 +- src/rx/simple.example/sample_client.c | 5 + src/rx/simple.example/sample_server.c | 5 + src/rx/test/generator.c | 5 + src/rx/test/kctest.c | 4 + src/rx/test/kstest.c | 4 + src/rx/test/tableGen.c | 5 + src/rx/test/testclient.c | 4 + src/rx/test/testqueue.c | 5 + src/rx/test/testserver.c | 4 + src/rx/xdr.c | 14 +- src/rx/xdr_afsuuid.c | 10 +- src/rx/xdr_array.c | 7 +- src/rx/xdr_arrayn.c | 7 +- src/rx/xdr_float.c | 8 +- src/rx/xdr_int64.c | 10 +- src/rx/xdr_mem.c | 8 +- src/rx/xdr_rec.c | 7 +- src/rx/xdr_refernce.c | 8 +- src/rx/xdr_rx.c | 9 +- src/rx/xdr_stdio.c | 8 +- src/rx/xdr_update.c | 4 + src/rxgen/rpc_clntout.c | 5 +- src/rxgen/rpc_cout.c | 5 +- src/rxgen/rpc_hout.c | 5 +- src/rxgen/rpc_main.c | 5 +- src/rxgen/rpc_parse.c | 5 +- src/rxgen/rpc_scan.c | 5 +- src/rxgen/rpc_svcout.c | 5 +- src/rxgen/rpc_util.c | 5 +- src/rxkad/domestic/crypt_conn.c | 14 +- src/rxkad/domestic/fcrypt.c | 11 +- src/rxkad/domestic/tcrypt.c | 13 +- src/rxkad/rxkad_client.c | 14 +- src/rxkad/rxkad_common.c | 9 +- src/rxkad/rxkad_server.c | 4 + src/rxkad/test/stress.c | 4 + src/rxkad/test/stress_c.c | 4 + src/rxkad/test/stress_s.c | 4 + src/rxkad/ticket.c | 9 +- src/rxstat/Makefile | 2 +- src/rxstat/rxstat.c | 8 + src/scout/Makefile | 1 + src/scout/scout.c | 4 + src/sgistuff/Makefile | 2 +- src/sgistuff/sgi_auth.c | 4 + src/sia/siad.c | 4 + src/sia/test-reauth.c | 4 + src/sys/afssyscalls.c | 4 + src/sys/afssyscalls.h | 3 - src/sys/fixit.c | 4 + src/sys/icreate.c | 6 +- src/sys/idec.c | 6 +- src/sys/iinc.c | 6 +- src/sys/iopen.c | 7 +- src/sys/iread.c | 7 +- src/sys/istat.c | 6 +- src/sys/iwrite.c | 7 +- src/sys/pagsh.c | 3 + src/sys/pioctl_nt.c | 5 + src/sys/pioctl_nt.h | 1 - src/sys/rmtsysc.c | 3 + src/sys/rmtsysd.c | 4 + src/sys/rmtsysnet.c | 4 + src/sys/rmtsyss.c | 3 + src/tbutc/Makefile | 2 +- src/tsm41/aix41_auth.c | 4 + src/ubik/beacon.c | 4 + src/ubik/disk.c | 4 + src/ubik/lock.c | 4 + src/ubik/phys.c | 4 + src/ubik/recovery.c | 4 + src/ubik/remote.c | 4 + src/ubik/ubik.c | 4 + src/ubik/ubik.p.h | 2 - src/ubik/ubikclient.c | 9 +- src/ubik/ubikcmd.c | 4 + src/ubik/udebug.c | 3 + src/ubik/utst_client.c | 4 + src/ubik/utst_server.c | 4 + src/ubik/vote.c | 4 + src/update/client.c | 7 +- src/update/server.c | 7 +- src/update/utils.c | 5 +- src/usd/test/usd_test.c | 4 + src/usd/usd_file.c | 4 + src/usd/usd_nt.c | 4 + src/uss/Makefile | 3 +- src/uss/lex.c | 5 + src/uss/uss.c | 4 + src/uss/uss_acl.c | 5 + src/uss/uss_acl.h | 1 - src/uss/uss_common.c | 5 + src/uss/uss_common.h | 1 - src/uss/uss_fs.c | 4 + src/uss/uss_kauth.c | 5 + src/uss/uss_kauth.h | 1 - src/uss/uss_procs.c | 4 + src/uss/uss_ptserver.c | 5 + src/uss/uss_vol.c | 5 + src/uss/uss_vol.h | 1 - src/util/afs_atomlist.c | 5 + src/util/afs_lhash.c | 5 + src/util/assert.c | 6 +- src/util/assert.h | 2 - src/util/base32.c | 4 + src/util/base64.c | 4 + src/util/casestrcpy.c | 4 + src/util/dirpath.c | 4 + src/util/errmap_nt.c | 5 + src/util/fileutil.c | 4 + src/util/flipbase64.c | 4 + src/util/get_krbrlm.c | 4 + src/util/hostparse.c | 4 + src/util/hputil.c | 4 + src/util/isathing.c | 5 + src/util/kreltime.c | 4 + src/util/ktime.c | 4 + src/util/netutils.c | 10 +- src/util/pthread_glock.c | 4 + src/util/readdir_nt.c | 4 + src/util/regex.c | 40 +---- src/util/remote.h | 2 - src/util/secutil_nt.c | 4 + src/util/serverLog.c | 4 + src/util/snprintf.c | 4 + src/util/sys.c | 4 + src/util/test/b32.c | 4 + src/util/test/b64.c | 4 + src/util/test/dirpath_test.c | 4 + src/util/test/dtest.c | 5 + src/util/test/fb64.c | 4 + src/util/test/ktest.c | 5 + src/util/test/test_ktime.c | 5 + src/util/test/treaddir.c | 4 + src/util/uuid.c | 9 +- src/util/vice.h | 2 - src/util/volparse.c | 7 +- src/util/winsock_nt.c | 4 + src/venus/Makefile | 6 +- src/venus/cacheout.c | 4 + src/venus/cmdebug.c | 4 + src/venus/fs.c | 4 + src/venus/fstrace.c | 4 + src/venus/gcpags.c | 4 + src/venus/kdump.c | 7 +- src/venus/lock.h | 2 - src/venus/test/Makefile | 2 +- src/venus/test/fulltest.c | 6 +- src/venus/test/getinitparams.c | 4 + src/venus/test/idtest.c | 5 + src/venus/test/owntest.c | 4 + src/venus/twiddle.c | 4 + src/venus/up.c | 9 +- src/venus/whatfid.c | 4 + src/vfsck/Makefile | 2 +- src/vfsck/dir.c | 8 +- src/vfsck/dirutils.c | 4 + src/vfsck/inode.c | 8 +- src/vfsck/main.c | 12 +- src/vfsck/pass1.c | 9 +- src/vfsck/pass1b.c | 10 +- src/vfsck/pass2.c | 10 +- src/vfsck/pass3.c | 9 +- src/vfsck/pass4.c | 10 +- src/vfsck/pass5.c | 10 +- src/vfsck/proplist.c | 4 + src/vfsck/setup.c | 7 +- src/vfsck/ufs_subr.c | 4 + src/vfsck/ufs_tables.c | 4 + src/vfsck/utilities.c | 7 +- src/vfsck/vprintf.c | 4 + src/viced/afsfileprocs.c | 4 + src/viced/callback.c | 4 + src/viced/check_sysid.c | 5 + src/viced/fsprobe.c | 4 + src/viced/host.c | 4 + src/viced/physio.c | 6 +- src/viced/profile.c | 6 +- src/viced/viced.c | 4 + src/vlserver/cnvldb.c | 4 + src/vlserver/sascnvldb.c | 4 + src/vlserver/vlclient.c | 4 + src/vlserver/vldb_check.c | 4 + src/vlserver/vlprocs.c | 4 + src/vlserver/vlserver.c | 4 + src/vlserver/vlutils.c | 4 + src/vol/clone.c | 4 + src/vol/common.c | 6 +- src/vol/devname.c | 4 + src/vol/fs_conv_411.c | 4 + src/vol/fssync.c | 4 + src/vol/fssync.h | 2 - src/vol/gi.c | 7 +- src/vol/ihandle.c | 6 +- src/vol/listinodes.c | 6 +- src/vol/namei_ops.c | 4 + src/vol/nfs.h | 3 - src/vol/ntops.c | 4 + src/vol/nuke.c | 4 + src/vol/partition.c | 6 +- src/vol/partition.h | 2 - src/vol/physio.c | 6 +- src/vol/purge.c | 6 +- src/vol/salvage.h | 2 - src/vol/test/ilist_nt.c | 4 + src/vol/test/listVicepx.c | 4 + src/vol/test/ltlist.c | 5 + src/vol/test/nicreate.c | 4 + src/vol/test/nilist.c | 4 + src/vol/test/nincdec.c | 4 + src/vol/test/nino.c | 5 + src/vol/test/nsubr.c | 4 + src/vol/test/testpart.c | 5 + src/vol/test/updateDirInode.c | 4 + src/vol/test/utilities.c | 5 + src/vol/viceinode.h | 2 - src/vol/vnode.c | 4 + src/vol/vnode.h | 2 - src/vol/vol-info.c | 6 +- src/vol/vol-salvage.c | 6 +- src/vol/voldefs.h | 2 - src/vol/volinodes.h | 2 - src/vol/volume.c | 6 +- src/vol/volume.h | 2 - src/vol/vutil.c | 6 +- src/vol/vutils.h | 2 - src/vol/xfs_size_check.c | 4 + src/volser/Makefile | 3 +- src/volser/common.c | 6 +- src/volser/dump.h | 2 - src/volser/dumpstuff.c | 4 + src/volser/lockprocs.c | 4 + src/volser/physio.c | 4 + src/volser/restorevol.c | 4 + src/volser/volmain.c | 4 + src/volser/volprocs.c | 4 + src/volser/voltrans.c | 4 + src/volser/vos.c | 4 + src/volser/vsprocs.c | 4 + src/volser/vsutils.c | 4 + src/xstat/Makefile | 1 + src/xstat/xstat_cm.c | 4 + src/xstat/xstat_cm_test.c | 5 + src/xstat/xstat_fs.c | 4 + src/xstat/xstat_fs_callback.c | 5 + src/xstat/xstat_fs_test.c | 5 + 847 files changed, 3232 insertions(+), 1854 deletions(-) diff --git a/src/afs/AIX/osi_config.c b/src/afs/AIX/osi_config.c index 860962f13..4e7021790 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 dcf6cfcd8..0a39f725b 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 ca4cd5672..a9f60478f 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 c6ff79286..b9588f82a 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 aff1a1d5f..9a9ca712e 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 41c5f71d4..a4b754ee1 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 55084ce24..de8c44f2e 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 89086fca3..5a4521855 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 2f8066162..912e4f396 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 b2f5d7ea8..6f8e5f10d 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 fee6113d0..84f6bf0f5 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 9fcb36ac9..88971463b 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 30b5154d5..bdeab2a1c 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 65daf7a73..5036090de 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 0fd144332..964d8ea55 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 18ea55442..13bc99b0b 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 670f0ade3..e9ea2f7ed 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 bcbef7e2a..cafa3b0a8 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 37e6029d5..61539f7d5 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 7391e87d8..b3a93d7b9 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 e3cd3c442..bea91cf13 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 9e7776160..e05377816 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 d6b3bd683..312270d4a 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 2486f55f8..2fe54d817 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 87342e45e..7f8d19acd 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 5eb0430e3..9d351130e 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 b4424ad58..efb407663 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 ba711ae50..5909165dd 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 6e3ef483d..9e3296591 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 1c4fc66b4..77a92ac0f 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 00d91cf6c..3c27eaf82 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 84bd0be40..fe8f6b2f7 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 a87c70bfa..586fea52e 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 6d29231d8..cfe3aa185 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 617d6a040..140d066ab 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 5f2187576..13b8c3fab 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 13ce462de..84d7211d3 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 1c507e9ee..b109cb668 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 c60f0c6ed..a1c7f5950 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 c78d58e40..382c2bcba 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 0fd27009e..5654de20e 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 a521efdba..b9f342ff1 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 1eeb4c3de..bcf8277f1 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 de870bad4..b32bb82f2 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 805ecaed8..4944bd4f3 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 cd2c6f4cd..e28f0909b 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 93cfa4b81..445bd7907 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 9341388f9..5b7cf9119 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 584e89eca..d7c95936d 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 4e76cb052..96c50906b 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 b24fe8c36..78b6bf912 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 bcedf99bd..f96c85ccd 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 9d6b5edc5..1f6b8b8d1 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 f076d7e0b..6c322236d 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 14643fd94..f0e1f2050 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 d2b90dfd9..dfbfdcbf1 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 3cc273af9..bfbb0d815 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 8b7b85d96..826c83bad 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 87ef735c5..5529cc62b 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 7947b5a13..3ac8fe0a8 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 9acd27a8c..6a383526e 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 36dd7aa7e..d944a280e 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 73ba8561f..f2ec972a1 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 c6497e541..9bdc60b94 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 0366f6f4b..fba65c382 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 bba3882b4..cbb544f38 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 2f2437b64..06fcae21c 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 41eb02f22..e2257282c 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 032d50ecb..48e70f774 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 cc58e05fe..cce1de58c 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 4e4d8efe0..b802edf4c 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 cea99e629..5f1819809 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 38103c3fd..e8969c437 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 e146b2c8e..533255981 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 1b8703ea9..914cb223d 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 053185a85..d6a76d249 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 2c3f6af9c..56564482e 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 eb9c218fb..695bb1f1c 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 0d42f5779..ca817d4be 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 e636efe59..0ad5b0760 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 57819b5d1..e7c0db72d 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 43869f77d..2f11066b9 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 8675625db..8c6da8366 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 a1f22b246..0346dc027 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 affaa54d9..67fef1b54 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 2d06f6379..91766dd71 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 ddceaf475..6995a354d 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 c80424d7e..1a5d7df27 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 a627b5021..54652e6ca 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 aa62ffd19..333483d9a 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 797932eb2..83e0da026 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 77b56aa00..0b27965be 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 849eb03ff..f8c262b95 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 2838c0d51..eaea28b73 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 1bc6d3823..47f81ca42 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 073b8f63a..e271dd38d 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 215a6946d..4d3443c87 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 902dfb08d..25f46efff 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 f1a0f0cf8..41ad4ed4a 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 ac442f772..1ca73fd30 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 0e984f0c7..dc1f3cda5 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 9810b7fe8..2e3be42d9 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 9c7018f1f..5924e9c8d 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 b58639d4e..45479557c 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 482bf9201..4fa61db0b 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 72520ff9e..820edfc2f 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 d871e0129..7f55765d2 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 a3030439d..a8f9c2fa5 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 b8dd05c62..0e07bed38 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 e36f9b819..77bef23fe 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 54063e620..e708f4dd4 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 ea152effd..e286d8b27 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 8c833ea6e..32b01c88a 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 5a0969271..6ee828252 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 dd36df24a..09af2cd4a 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 670823f53..155a5338d 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 1baf5f8d1..a1a054f65 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 2ceacd279..6601ed2f1 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 561e4c9d3..860bc6173 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 295c60618..c630bf97b 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 3c2a5d5a6..0d7912c4f 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 4d22160ad..f39fb6ccb 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 a238e5c1f..b7b38191e 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 427e31563..c0a9ecbed 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 4318a66ec..fb5c2e95c 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 12ad9a32b..4b9c3f2f2 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 6962f3397..c2279df8c 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 5b0113737..b7a07e3de 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 535c0a4df..49ed48520 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 ebaa03ff8..e49453cab 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 87c989c71..e99f26928 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 4d4cf4435..70bd98b22 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 94d897ccd..fd8ad0f9a 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 35861f361..63fd62b28 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 9d856cccc..5bdcc8900 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 7fcb23a06..3477a8201 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 d2654905a..7efb9dc7a 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 10843bb58..f102b1e4b 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 028ab9e05..05fe0a04c 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 1a838f203..ff4fcdfd9 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 87a4820ac..c2e6c79d1 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 6af9102ed..2c86d005a 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 750a5ea52..53343e955 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 e92b9b9a1..5b67152ea 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 ee8e4426f..6403693cf 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 20d596c40..c95d9d788 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 4627b48be..65c3ce4db 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 86ba5049c..2306fb83e 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 9e0d81f38..1e3773ef5 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 d9fea507f..faed8345c 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 7f71b38f8..7531252f4 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 75ce0c308..d4afcf6e0 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 336d9269e..3d151da7f 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 3fdf45fab..70a51c27c 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 193d0cc3d..9e16f5b65 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 cb6d9c81e..ead612afc 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 ff8d204e4..23781edd5 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 f4be09a13..c01c60e42 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 7ccf9153f..717aacdb9 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 1970156b0..602b5ffc8 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 91420e14c..237e23c61 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 bed0c2b90..4106d9f37 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 b9d16c272..131686f3a 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 67e2eebc7..69afbe6ba 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 6757a4a9e..adfb32ad2 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 9d1feffd5..8e573eac1 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 e32df0e0a..ad78bfd46 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 54acb68b8..f023b50a6 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 7051d52e0..dcba50b82 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 324ed2814..188f82459 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 9e567b259..0a2ad75c0 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 3a4bd1e3f..c171e1a6f 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 2b255a5a0..9ec97d0a6 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 19e1c944e..c68401551 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 7dabe4191..2cf0ab134 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 1930cca91..786e053bf 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 fc966b1f4..773be33e5 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 35f218e9b..553cc33d4 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 017fe0146..d06a30891 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 e35159915..d8f478f1a 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 6cfa66153..ec673b4c2 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 ac0b03378..836b0c278 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 b9dc1407f..7854b3d4c 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 dee1c6c63..ee939a1af 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 6dc974b62..866f0fec7 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 1a00a6761..dec74b77c 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 7fcc5edd7..581c99941 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 7d453ea72..323b1f586 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 9c6ee1a0e..a39e3a98f 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 7eadcedae..467413ecf 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 51c04b736..68885c6df 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 7f2a11422..348ebfac8 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 80d476325..a8f5ccc07 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 edfddbba5..19a47017e 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 009fd2b56..a5c3a0a74 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 f215ca938..4351c9ac9 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 cc5eae34d..ba601466d 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 6e4191125..da8f0a470 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 dfd536957..98d168e56 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 ca3e0a2f9..1117909cb 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 9b8b62356..9e765116d 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 41ce4ae34..7202ee38d 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 86e10d6f1..8696b9270 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 dc1fd9f6a..20b7e3f91 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 8b70406f6..687de558e 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 09aa81eaa..47f6341f6 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 9e12ce2e8..2a6a5f0e9 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 a8629c5af..d9017f1fa 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 6057c5c0b..d5842e5ad 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 2f104ec55..867d69852 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 2402dab35..9f0107f2b 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 934bba8e8..d4e80f914 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 8595d8e67..13e7a29fe 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 64c3001cf..e1f1d9b1c 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 9f564a31a..f2971ef66 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 83282d113..a8763ad55 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 c177fd6ce..4070a4bc1 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 c7c72fd9d..8a4f2043a 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 8f7ae1263..dd9fb5bd1 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 dd2341fd2..b93eb49d3 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 7ade42859..88b38f6c6 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 a6aa72513..d4f5d6257 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 7db068b20..fe39d3b06 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 adcae928b..28b46a94f 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 7d349efa6..fe8d5a6da 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 a958f9e40..cfe083c0e 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 9510649c0..89362fa03 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 5026844ec..1b5c8c45c 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 192b33930..053d35f95 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 29926ae97..02517aecd 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 76139e454..3b0ec833d 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 ccf75c990..34a71e71d 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 525ab2415..fdcc12c0b 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 1297c942e..7af67ffc7 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 716c8e15a..f01206360 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 320e8acfc..efd5f7803 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 68ea50e41..9f53f9532 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 8053a8b99..15fd469d8 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 2ef5ec2d1..1d8e79c55 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 38630d7a9..765e04f3c 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 68ea50e41..9f53f9532 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 618919b68..2fcf24713 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 01c1ab1cc..715fee003 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 5ca03c875..387ef4e11 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 92e2e4927..2e636912d 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 39b662109..de44b567c 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 328b77eae..2a1c7e777 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 e04c6051e..b2df4fa5c 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 80664b277..7a70c4858 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 1438cb90e..32a1e9fbe 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 51dc915dd..4e38287a1 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 c0f898f7a..c1cfd6515 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 bc9c781a5..d21d75def 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 e300213e3..f25ec5d4e 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 f2bf48ae4..67397cbea 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 d3546712e..9614398cf 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 b26439c04..1712eb57a 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 3aacd444d..66c335eb0 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 de0dd5b7b..d8d56fe59 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 39f58a206..88749e23c 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 279941bef..f6a919a3d 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 c3a638517..1163011ec 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 b106a583d..3f4995080 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 9c90a8dd3..2650bfa6f 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 0933ad14d..308d57b2d 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 79527666e..de7e67418 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 72fb4617e..eb32d0ea2 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 cbf60d450..3e4a44a2a 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 a5c5052fa..c61fd9c67 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 cc36f5fc5..0a2a79797 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 4c488a590..77ef74e28 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 bfad800cb..77080d0d8 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 c874d2431..105847e2a 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 195e6e5a7..64abc206e 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 39f43d5e6..b616e4bfe 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 0c679a760..96456f028 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 c2a33d69e..dfb623a87 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 5e48cf7dc..a4405847e 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 1147ef340..98d41088f 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 e3e2ce053..e62769c51 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 21b22e3b6..10e184ad1 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 ded70a5e5..eb17b8d58 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 ec1263a5e..c9dea5d52 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 2e428afaa..1c05b9e4f 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 afce5ec55..f46bbbbd7 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 5529ef546..07b7e2a90 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 ed4cc4ab8..6a730b8f4 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 7b52e5144..222cb11bf 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 224435666..e3490b448 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 d60375c50..2e7c3a43c 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 1e6610413..c6b571365 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 0e2b020c6..9350c6975 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 b0ec0fcae..e63da8556 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 1ff5b273a..4a2dc9afa 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 47717cafd..f23abced8 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 608f93407..d26ab23b7 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 c11e55687..152a82b42 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 3c5de48de..cb2020bcb 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 60791fced..dba73c8c5 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 f1a3a8524..2e9447f49 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 837df4b5c..865ede2a5 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 a86fe445c..152b52db4 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 48985e04a..23de6585d 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 e53779f6c..2e11491bd 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 10f2d82b7..1d090cf2c 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 557a8fec9..b00558b6a 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 79b0eceec..e6ac90495 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 7eab559e9..af8837790 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 9cbe55868..f58742f01 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 43ee72bc4..3a8173ea2 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 92e162352..02f201d9d 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 ee0925929..ffab487a8 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 e115dfa58..c6723f38c 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 9be7e5d9d..1f92bf2f2 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 0b6b4d7e3..ccbfeca1e 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 886cb4f81..3d7a054f8 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 8ea21ddc0..081d56738 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 8accc4553..acc75fb7a 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 6abc301f8..b8e94f44b 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 97331a36c..adce2b171 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 6067aac45..218ebac60 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 a3f33e9fa..23fb5c553 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 2a47837d2..5c2d3d98b 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 73ec26e8e..f8275f789 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 d935afc53..cbd8a5d78 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 c1c2651e4..67099f61d 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 d7f809aed..87f9a7571 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 475336602..a5973c166 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 ae7665db8..861d52906 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 ce8c592a2..1615da050 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 a91c240d3..97ac1db0f 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 e4a1e9e5a..0dfcc18f5 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 f5e9c6476..4d2e97ba0 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 2f0c69adb..309ef6030 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 93b76d8ae..472676bbb 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 24e752c5a..d91a96ff6 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 e83ff2e8a..f89e2ee51 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 9367a7c19..34b111a76 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 d05240f6d..e09ea0fab 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 219780329..4cf0cb678 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 6a18f448f..d1f480d4a 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 ce627b301..63c028d3c 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 729536059..ee6ec3041 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 93074b7eb..98c4e0eea 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 ce6022625..d2abe2f10 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 0757bd004..d2810075a 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 64994322a..0bd4c18bd 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 65996e8a7..694b8a17c 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 764cf984a..bd7be6d50 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 1075fbd86..330be0dd9 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 79d6bca72..0055f3036 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 4e19e7f7f..9e3395b9a 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 4c6965bdf..d324ef62a 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 d0d313bae..c2011611c 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 f758204a6..1ab585c0d 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 ddbf9aee9..af5e5c68a 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 7c47852bd..b9a0a03c3 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 04853991a..3bbf83a3e 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 282f482b6..cde4b8617 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 531847a70..37aea0241 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 b8acbf4a7..ef7f1000a 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 abe25fe83..245c61fbb 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 33aa17b17..2a4d69b42 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 1dd08a7b5..9e4a48086 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 e839aab5c..998c9add7 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 3571962e1..a3ee06e8a 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 04d46669c..1a79eee3a 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 db91476cc..907286c85 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 10ec478c8..c1417b1ab 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 62dbffb22..91e87ac53 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 80c7b9e5f..51d8fdd4a 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 d2c83177e..29034526f 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 c0df2e578..ca872a22c 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 9c5d5948f..89d3ae814 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 9667a6e0a..34a356b40 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 567072cdd..3ebd0840a 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 f0f96262f..d35c5b2e8 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 1a2b1bc0e..38a56e0d6 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 c24c06dc2..bcd46ab03 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 bf7509185..9673840cf 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 3c417f9a9..da8e4e388 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 95ecbfa26..336abf96e 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 046138aba..f06e6c04f 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 96d682db9..8e1a1d2bd 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 0dcfc12c3..ee59387a0 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 bbac8caac..cbe296b38 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 eec4a84a5..8188f6ce0 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 90d7ec996..d18b8000a 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 3da916eb4..f819e430e 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 f2857628e..a0658d454 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 e0b40bd23..01b428adc 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 396281e55..565506b94 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 a6e333146..398898e53 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 45cd6817e..46e3f93ae 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 6498d1be1..b423e641a 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 224275b75..c0f69f0b1 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 449138c87..6da20d8b4 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 39b990b98..8c71fd440 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 23fd0cca9..cc1b9615f 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 4fd2ed45b..3e19e6a06 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 116a66aa0..6656f35b4 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 de7d0031b..e3ea166e8 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 46e4c3982..ead6dae0f 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 465478037..537b05ff3 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 e119dfcb1..14ac506e4 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 73635d995..22175d0e1 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 9c678e677..5114af051 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 daac36edc..6d8207e10 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 c91446dce..54a802154 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 5ca4bd996..58405eaf5 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 964ea2994..c03696601 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 f7d27bc6d..221db4cfc 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 31cfa480b..3528fc4a7 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 1f2beb17d..0a10c744e 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 4b6d54d8b..928dd0335 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 26d49d468..c512c7cc3 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 fe19db40a..1ed1e73d2 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 d51d92bf2..c954d2977 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 81061b132..76caad9f0 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 ba124364b..07b13764b 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 09e040a21..1b774b467 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 d45aebc3c..b323eda68 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 80e94fa6e..ef06a19f6 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 49fc0a597..09877f9d2 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 aff8cfd2d..7926e84df 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 a898a84d5..4a34affcb 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 5895d4a0e..952556526 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 98b63cfd6..f4974256f 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 27ae72c85..46599382a 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 15f7466ce..e4f227fec 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 b90304d71..6671c9601 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 a1ba92048..977200fdc 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 41b553243..b9ffe9948 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 093463d9c..89610c1da 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 bf65150b4..e614d0114 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 bd13de0e3..31004aba3 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 b4cc038c2..2d9c4e387 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 3c58c1b04..c66cce781 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 cf1618247..f5bac43e1 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 7fd5a2a58..666887611 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 9a5380536..8deb1278d 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 e06f0036b..89b2c2aa2 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 d2ea4fdba..596dffd18 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 e0ef0fbc8..cab8766ad 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 67cec4c9f..e4a3e2c80 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 1cd286e8d..fc1d4ffc7 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 a9729f674..1f96a8d97 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 45713ddbf..256c87d32 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 18dee7051..6fec7a8fb 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 56357618e..ffc0954ae 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 b790fa4b6..d3dfb01d2 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 2b3b01cf4..5e1df5b10 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 eb5695333..5a63285f3 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 b2031b3c6..4780d3169 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 d5e531bc6..fcc28c0c1 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 67a2cf58c..acfa23152 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 c01cffa6c..4a1d528c6 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 3256a951f..db28ec7a8 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 1473c6ab8..af761f177 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 e60137db7..e63c7ce8a 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 de907518c..12c80c268 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 7700a5fc3..11f52238d 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 fccdf8681..5cc252fa8 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 8553f3fd9..7d168f220 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 d2e6608a3..8dc837c20 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 2139f6d7a..a06ecbe5f 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 7db954abf..270c142a0 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 d4adb6061..8a68649c8 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 5271d8e4f..1fc864bce 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 7c4180a2c..2b237324b 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 cb4d699cc..6d47c066c 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 fd7676d11..8da6b0a7b 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 deaa7827c..a4c5db72f 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 52905245c..d704e243b 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 502d783dd..6f7bd4a42 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 301099c3d..fd3730285 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 7a0eb4986..48212efb5 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 648e7071b..26931c626 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 c67d20d77..979df9aa1 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 8f5beba46..e55d7ba35 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 8ae41ccd8..b9af5b1e8 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 7aff635c7..033da8fc1 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 853f5625d..d9a94568c 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 fcb096f57..8859ffafd 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 531d5f9b8..1b48cf552 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 2be09ebd3..75d7d18d6 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 e7e147fcb..e4fe79c48 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 897cff70a..bf30be5a4 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 5232360b5..933752f34 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 334e6628c..baae4aa8f 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 a836111bf..72ba6d2ac 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 c2d8bc560..f0d03c270 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 0380127a2..32edce122 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 f46836455..cc3871dbb 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 b2fffe271..14c0221be 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 c3e71aa6b..8619fc6c5 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 c9df424f4..cfd26b649 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 59b448ee1..1f58fcc4c 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 78ec63c3e..50d560dc0 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 e599d963e..99e58e882 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 93fd206ef..b50463dbf 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 68b50974f..632833e6d 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 4189ce1bd..82ca84e35 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 6b70dbbef..72fbf110e 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 5fc8a1a7f..40d70425f 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 5c3ada17d..312bcfdd1 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 789ccbc8a..3a1acf5cc 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 9d7cceb5c..2fe3b185f 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 9daf689c0..e95de5a4c 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 28bdbf31a..7b9b17b48 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 ee6b81dc9..19af354c0 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 78e6c6ea9..2a128c30d 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 bcbbaa5eb..a14e947dd 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 40b39e0bf..a628bfdd2 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 2cfcbdff8..e725a3268 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 2e09d897a..c0056c723 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 50eb3d160..2834e5627 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 c0ac8f820..663aa3262 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 bfa1ddab2..5dca01c3b 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 8aa355ca0..8af817cda 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 c1ad8b5a6..0efe76bd5 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 941025a09..c6f3c8e0d 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 bc6013d12..8b6fff3ef 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 aad7939b3..31bd1d169 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 da3c70817..90334cefb 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 f43e5a3c4..4a9dc54cd 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 c644e8568..da28a2e2b 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 c6f4a83fb..741067f62 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 daf178176..c1419761c 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 e5223ee34..345ff7ba2 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 1939437ab..c4461a2c5 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 b08e48483..bd0f457ab 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 36b3e265e..690f9ba4a 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 ebfba3ce4..4e2d202d4 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 b2c21f7b9..f76eb6d4c 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 27f7b329e..70a441c37 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 7b36029eb..7635bd96d 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 36e3fa027..07eb5b5e2 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 af6a981b9..c8320cf35 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 7e98bab6e..b99ab51ca 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 7d379e59b..b626b80da 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 fbe9b4018..ef451f176 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 07ac13356..79c0e8c6c 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 4e06c6601..a7016db5e 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 bb19f1e79..1f5ce0b85 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 15fc53112..278d90c47 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 7d3382c55..b47adbfc3 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 ccc4c46a2..05526dc4a 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 0a578e3ef..9fd0ae06b 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 bd6099116..e714eeb81 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 8b81ad439..85eed6f84 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 5c7fb6a18..7a6ad1172 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 368614947..dfc81524e 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 2fbf5cceb..5c7a69aa9 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 a11c525bb..bc9b7f966 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 7d8f9fa26..241442f39 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 e620c5058..c9af75160 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 */ +#include +#include -#ifndef lint -static char sccsid[] = "@(#)rexecd.c 5.4 (Berkeley) 5/9/86"; -#endif /* not lint */ +RCSID("$Header$"); -#include #include /* for UserAuthGeneral */ #include #ifdef AFS_SUN5_ENV diff --git a/src/rlogind/rlogind.c b/src/rlogind/rlogind.c index d37117a7c..876fee3af 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 */ +/* +#include +#include -#ifndef lint -static char sccsid[] = "@(#)rlogind.c 5.22.1.6 (Berkeley) 2/7/89"; -#endif /* not lint */ +RCSID("$Header$"); -/* #ifdef MSG #include "rlogind_msg.h" #define MF_LIBC "libc.cat" diff --git a/src/rsh/Makefile b/src/rsh/Makefile index e85445e2e..dfd643c42 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 eebe2c686..cb811b4cc 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 c043e1c69..3c47eba4f 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 c30cba25e..0273a170c 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 ae95f4515..e91b31a77 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 */ +#include +#include -#ifndef lint -static char sccsid[] = "@(#)rsh.c 5.7 (Berkeley) 9/20/88"; -#endif /* not lint */ +RCSID("$Header$"); -#include #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 058219cd9..b23fb8e7e 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 7a9a824f9..3be7650b9 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 dafa3d4e9..d1243968e 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 cddd2f406..3aa2694cb 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 30ae839a9..f3838bf4c 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 420b7e225..5b6399e59 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 2bd2f2da4..051920f18 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 e7307e2be..cf76820fd 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 c732bc914..bb2004e12 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 79c440dee..5e98fdc8f 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 30ad74ab6..9d41b086a 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 13ab7b95c..0ab11c855 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 7faa5b6ed..9e42dfad4 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 861924c11..755647eac 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 42f472814..587e73c42 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 21192eed4..dc9c46949 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 0f286b005..ba6e51c78 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 138838a97..34fad33a0 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 1b2fd0a2d..c6f41284b 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 5972e20ca..e27c62626 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 d765720a3..5ed859504 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 09d2e8adb..05b2bc56c 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 ce580dcbf..4bcb40063 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 5e02a0af3..4827403b1 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 */ +#include +#include -#ifndef lint -#endif -/* getaddr -- get our internet address. July, 1986 */ +RCSID("$Header$"); -#include #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 eb89077ef..6f1a97edd 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 73a140e7c..df521f186 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 f018c10f9..5f9492a63 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 555c549bb..337e2edd3 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 97cec14ae..14852ed6d 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 20a88409e..2523f833d 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 30323847a..1fddce492 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 da567a841..78a79296e 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 e3d68e4e8..d3e43fae5 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 5676eb390..2d3603eb8 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 888bb5098..f68f271e5 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 490568d8e..1d75df480 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 957477b7c..1c3bc3f01 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 6db38b725..e1d3098fd 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 c6be265d5..d8cfa9301 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 6e7540cb8..c3c06cb4d 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 7a7154fcf..d7cac929e 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 8ea05545b..9a08dd476 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 8e3bc8f95..c9922fa25 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 7f0974bbf..9abb4c2b6 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 aa993d6e8..27f38b551 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 f094ed3ce..280d02e2e 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 2d8235dce..d5ed18d2f 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 44d6421d6..c98aafec8 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 4cb251a7e..a523b0d5f 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 2d5bb9efc..7fb17de22 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 a9c17510b..930fa9ecd 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 bc8c13d50..da64aaa56 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 62c40c906..27317db86 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 54d8cb668..d8a138fc9 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 32aa256ea..fc1c5e6ea 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 4a064067e..a4da729a4 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 0975c9b54..d4942f747 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 4e5c9e550..7537f273c 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 2c7065442..4c8b13b6a 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 01394d916..2addf4ba0 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 8bdcf6208..160be5840 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 8c21bce21..d4b896ff4 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 b1b3620af..057fa8bdd 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 8ae4bdca5..197605e88 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 979079aa6..34fa823f9 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 ef0794597..afe51347a 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 807ccbdfe..53b3c8692 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 1bd7cb7d3..06c45b9ed 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 a07a10081..580e4135a 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 c7e4d3741..c1a83f324 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 19bae1612..4f314e43a 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 8e0012709..8a40345f0 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 add3e7b03..09a1aae2f 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 231b95b9a..c65795c83 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 85bcf7af4..da6bb5a0a 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 f6db82720..33d85919b 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 d0b14ddd2..b277a93b5 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 5acf36db4..272ecc3ec 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 b35b61f60..343fb0e31 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 83006ed52..0f567a0d8 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 497c751b1..79f0324b1 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 24b71711d..3497313c6 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 fee2e8c20..9b7f95993 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 420b79d27..3e1d4d6fa 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 6c5ae5364..b65774fcf 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 6b6a45a51..18615b215 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 7ad63324c..5a6b3b289 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 be49433d5..85113f567 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 3278e752d..3f5a63291 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 6de84c2a4..78ece3878 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 07363268c..e20aa0484 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 9e316f73b..d87aa2267 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 fec23044a..b6156a4df 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 7abefdcc3..39a82ac41 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 9830fcb29..243536775 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 75a774233..f79904db1 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 8be9093b9..dfca3cebf 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 469c42ff1..040cb1585 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 341624293..72b46ccdc 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 92c74a83c..599ee48b6 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 9f355f200..55a6cc7d2 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 2d47b054c..ac329eb65 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 dfd2516c7..e26124c80 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 02dee7c26..d721563b8 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 c43ab330d..a9b254dd8 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 379616bbe..ff6fc1262 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 a81150cee..374a53af4 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 460af189d..f973de92f 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 6de9dccec..2e98751ce 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 4ed4dc8fa..83f2f79db 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 7b1238d38..ddd1ce7ef 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 bf75fbc8d..4553d5533 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 253ab6262..3b36fc235 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 845f4276c..03a1a8006 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 b33a36289..607373b34 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 bb37a1899..47dfd2304 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 c06c771bc..8f02488f3 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 50c566680..458a97a32 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 b38fc654e..79269e2e4 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 471c4a94e..fdcc291db 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 5f7de410a..db1f4f2c6 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 6c78b6123..b919ce53a 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 fb08d4f77..929af863b 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 46addf8f7..bb5fc8c56 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 1e979e46f..9b044bb1a 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 7040eb054..d69241588 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 b32074a2e..07d2004d0 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 b538510c1..1ef25a69e 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 13f27b789..0c5b8da17 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 1f3e479a8..c8969f1a4 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 0b22fac39..aeb8201ea 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 a4b120ea5..08d37f9c3 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 a10a77ce0..8cd58dac1 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 f616558ec..8d4bc4e2d 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 7db0d2755..719c642b2 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 5087eedeb..94adc3a47 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 abfa6b782..d2c5b62ea 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 be256537c..fce17d7bd 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 c82c1d7ba..279be554f 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 27ecc41ab..63f90e69e 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 097106bb4..8aed5d1ff 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 b03abf38b..ec0933d5f 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 0e5793dad..a20abb4ac 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 55a11b691..c93509b9f 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 8278f91a3..b3c4107b5 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 496cd67de..d8c5ee8ea 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 105bb358c..5ad2c9247 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 f35b2c6e1..3724c6281 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 e2977f9f4..5414b05e1 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 0d32218d7..02b905a1d 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 2ba60eb4c..80a82a375 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 00f02a0fd..cdd49994a 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 af27dba5b..d1ab75e1b 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 0a86832c7..965150b65 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 1166d0666..0d5b48902 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 684ebc74f..dba78c72a 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 240be4ed6..e0280721b 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 19eb84e6d..83c6f0d4a 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 7e784c71b..c65fd0d4f 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 4b44cdaaa..7f28ad253 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 201dd6b5f..3d7912804 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 d7375aa7b..68c8ae380 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 ef6c5110c..f2bcf27a2 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 8c356113e..e562fddef 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 fe8b3b116..da66aa553 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 8efc9e610..fa6eb65d1 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 9a0dde70e..b5ef78ee9 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 f129fca83..4edaeb4bc 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 cb4f5de01..4d09536d9 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 0399f426e..41a9d6898 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 423146212..b3c6e30b5 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 e71ce6938..4dc486dd6 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 c73fe3ed7..2a21e8ed3 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 d28e4b62e..ad817fae1 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 bad8961bb..1bfb25d3d 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 0dcd81001..f3f170ab6 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 7da9bd3ba..886a58198 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 e35befdc4..8e3d43a63 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 b2e6fa536..b74a359fe 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 5658da479..d3fe6c518 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 e7541e2fb..bd4dd9923 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 68b4cdd65..9e455688a 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 dc13a1277..46ac91151 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 72589ecf2..cfbcbeef0 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 ae4e92045..b3e40f7f6 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 3b59a06d1..00c7e84c7 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 40a5e7166..b7fa51d5d 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 bb70bd0a0..7daf11f23 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 20f40b46c..05c14881e 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 bf3ec545a..e42c358f7 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 009203c07..5e2f6bc5c 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 9ea060fc2..2aee59118 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 fd97f8213..959804594 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 ac1e16d6a..651cfbfa5 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 298343964..fd5afc250 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 bbfba2b9d..0ef2317f0 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 ad7e8f7de..f9ef4e29e 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 */ +#include +#include -#ifndef lint -static char sccsid[] = "@(#)main.c 5.17 (Berkeley) 2/1/90"; -#endif /* not lint */ +RCSID("$Header$"); -#include #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 af5c094ee..a52f65327 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 */ - -#define VICE #include +#include +RCSID("$Header$"); + +#define VICE #include #include #ifdef AFS_OSF_ENV diff --git a/src/vfsck/pass1b.c b/src/vfsck/pass1b.c index 923006803..0b4c53a66 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 */ - -#define VICE #include +#include + +RCSID("$Header$"); +#define VICE #include #include - #ifdef AFS_OSF_ENV #include #include diff --git a/src/vfsck/pass2.c b/src/vfsck/pass2.c index 13e82ef3b..b35601442 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 */ - -#define VICE #include +#include + +RCSID("$Header$"); +#define VICE #include #include - #ifdef AFS_OSF_ENV #include #include diff --git a/src/vfsck/pass3.c b/src/vfsck/pass3.c index 75d8bb975..efc7b5f5b 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 */ - -#define VICE #include +#include +RCSID("$Header$"); + +#define VICE #include #include diff --git a/src/vfsck/pass4.c b/src/vfsck/pass4.c index ba4652023..22f9b4bdf 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 */ - -#define VICE #include +#include + +RCSID("$Header$"); +#define VICE #include #include - #ifdef AFS_OSF_ENV #include #include diff --git a/src/vfsck/pass5.c b/src/vfsck/pass5.c index 9e3183497..796543786 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 */ - -#define VICE #include +#include + +RCSID("$Header$"); +#define VICE #include #include - #ifdef AFS_OSF_ENV #include #include diff --git a/src/vfsck/proplist.c b/src/vfsck/proplist.c index 1b627920e..f0d195f2c 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 3bd9e9ca0..56192564b 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 b23b1545c..c9697bcf9 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 8188a464a..fc86fdd87 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 f5a1f32bb..9e6f8cbf1 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 b192eac92..58f767973 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 9bfb3951e..403c5b5ab 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 c197140ac..7828099e7 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 f40191c81..8b2d9ecf1 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 2bc1f2451..0458d8e75 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 2d2233b3e..d7fcaad6e 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 5237be1fb..698430aea 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 4dc4a9004..1fefb5b61 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 b24d1a871..e76c16ed9 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 330559da4..aad408c89 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 920140270..70a86b247 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 82a27d5c9..f1e4a2e82 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 e11dc86fc..a65f7870d 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 fbde668df..605e48cdb 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 d92645a47..16dc347f5 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 9b9159135..782fde097 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 2e50dd108..9e029b3cf 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 4efa16c18..b7b598a0e 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 3af8874fa..45bcaffe0 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 4171c7ad3..a4f7616db 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 190dce809..ec3c47483 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 115566c6e..068a9a164 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 c0dd97185..ee2850fd1 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 ba149302c..73a2ff85a 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 de163cf87..a7c3f85e4 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 e878c4473..5bd89f588 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 365bf43c4..a24c6e9b7 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 5ee9eca09..2a5587b37 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 3f9059f1a..2ea743e45 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 0ed0fa24a..373c0cae3 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 c6bc9a21f..c64140345 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 738da105f..5c4972587 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 5509ab0ab..73cdab3f0 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 9f16df635..cdbf28901 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 42c06f4cf..0d46732ff 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 ee523124f..87706ce32 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 6d909c094..b8ed33c75 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 7b2c84dc5..73b0aceec 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 b754db3bd..bbfad1d79 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 95fe86664..bed5e7c5b 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 0875a4e91..bcc2675d3 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 5bdb2f8ad..ad2d388a6 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 e6f0335e0..3f5a8fd07 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 a44631dfd..253c07af9 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 857a241c1..7de02382a 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 f0c810dda..015d673fb 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 5cccda9da..d62a38610 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 0baf1b0f6..2901eb0d9 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 770f06d2d..d42422952 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 5bed33b0e..ce75f8be0 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 5aa3da52f..7c77d372c 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 2952a6030..93f0ba719 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 dbb620a5a..d15b62928 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 ca41b3189..cd155457b 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 83b97b334..b94324808 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 676357255..b513d3bf3 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 74aa0acd2..d64166b53 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 629f42775..ddfc16899 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 ac35d5280..89187db50 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 6f2b9452f..48e0002bc 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 e44971ffd..1c55e2f89 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 ddb336247..ee74244db 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 992808eb7..369c0db10 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 19fd8e3e2..02214e767 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 b2d87115a..7a50b3aad 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 554b40fa3..e4975c9f6 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 696660229..266038921 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 a27f4b744..d4164fafc 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 526dac114..f228cfd73 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 f4ebab26d..a56048fe9 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 5d487b6a8..73a471688 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 d0fb234f8..37503a8a6 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 289bf8fc8..7146afa4a 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 f06795e8d..8ee25aa10 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 c5549bd61..de796f9df 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 528dab028..8f4c9f2b7 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 -- 2.39.5