From owner-cvs-all Sun Aug 8 21: 8:30 1999 Delivered-To: cvs-all@freebsd.org Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.26.10.9]) by hub.freebsd.org (Postfix) with ESMTP id CAD6415133; Sun, 8 Aug 1999 21:07:59 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id OAA21041; Mon, 9 Aug 1999 14:03:31 +1000 Date: Mon, 9 Aug 1999 14:03:31 +1000 From: Bruce Evans Message-Id: <199908090403.OAA21041@godzilla.zeta.org.au> To: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, green@FreeBSD.org Subject: Re: cvs commit: src/libexec/telnetd sys_term.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk >green 1999/08/08 19:19:38 PDT > > Modified files: > libexec/telnetd sys_term.c > Log: > Add a missing include (sys/queue.h for sys/tty.h SLIST usage.) > > Revision Changes Path > 1.22 +2 -1 src/libexec/telnetd/sys_term.c Wrong fix. is not a prerequisite of (recent breakage of doesn't count). The following script lists (in the source) almost-minimal prerequisites for most FreeBSD-1999-May-14 headers as a side effect of checking for prerequisites. Ugly, isn't it? Don't make it worse. Bruce #!/bin/sh # # only depends on being previously # included with KERNEL being defined, but depends on # generated headers if KERNEL is defined. # , , and # refer to the i386 hierarchy. # uses an unifdefed gcc attribute so it and # everything that includes it break for for non-gcc. # depends on generated headers. # depends on the KERNEL being defined before # including , and then includes "opt_nfs.h". # uses undefined macros. # conflicts with user lseek() etc. # CRUD="(sys/bus_private|machine/cons|machine/ipl|machine/mpapic|pccard/slot|netatm/spans/spans_cls|nfs/nfsrvcache|sys/syscall-hide|sys/sysproto)\.h" # uses ANSI string concatenation. # isn't careful about #elif. # NEEDS_ANSI="(sys/copyright|netatm/ipatm/ipatm_serv|netatm/kern_include|netatm/port|netatm/uni/sscf_uni_var|netatm/uni/sscop_pdu|netatm/uni/sscop_var|netatm/uni/unisig_decode|netatm/uni/unisig_mbuf)\.h" # Comment out the next line for non-ANSI. # NEEDS_ANSI="^/nonesuch$" # Some files use use gcc features such as __inline and pragma pack (ugh!) # unconditionally. # NEEDS_GCC="(machine/cdk|machine/cpu|machine/md_var|machine/pcb_ext|machine/segments|machine/specialreg|machine/pc/vesa)\.h" # Comment out the next line for non-gcc. # NEEDS_GCC="^/nonesuch$" # These files use prototypes and perhaps other ANSI features unconditionally. # NEEDS_PROTO="(./aio|sys/aio|\./alias|machine/pc/bios|sys/blist|net/bridge|sys/bus|machine/bus|\./calendar|cam/cam|cam/cam_ccb|cam/scsi/scsi_all|cam/scsi/scsi_cd|cam/scsi/scsi_ch|cam/scsi/scsi_pass|cam/scsi/scsi_sa|cam/scsi/scsi_targetio|\./camlib|\./devstat|\./dialog|\./fetch|\./ftpio|sys/interrupt|sys/kernel|\./libdisk|sys/linker|\./md2|\./md4|\./md5|sys/md5|sys/module|\./ncurses|\./objformat|security/_pam_types|security/pam_appl|security/pam_malloc|security/pam_mod_misc|security/pam_modules|\./pcap-int|\./pcap-namedb|\./pcap|\./posix4|posix4/posix4|\./radlib|\./ripemd|\./sha|machine/spigot|machine/soundcard|\./stand|\./strhash|\./taclib|\./timepps|\./unctrl|\./vgl)\.h" # Comment out the next line for pure K&R (not for gcc -tradtional). # NEEDS_PROTO="^/nonesuch$" # , and # use a combination of __CONCAT macros that doesn't work in traditional # mode. # uses ANSI cpp features. # isn't careful enough about spaces in # macro definitions to work in traditional mode. # inherits this problem. # NEEDS_NONTRAD="(\./elf|machine/elf|sys/elf_generic|sys/imgact_elf|machine/in_cksum|security/_pam_macros|security/pam_misc)\.h" # Comment out the next line for pure K&R or gcc -traditional. # NEEDS_NONTRAD="^/nonesuch$" for i in `(cd /usr/include; find . -name '*.h' -follow | sort | egrep -v "\./(g\+\+|netns|objc)/" | egrep -v "$CRUD" | egrep -v "$NEEDS_ANSI" | egrep -v "$NEEDS_GCC" | egrep -v "$NEEDS_PROTO" | egrep -v "$NEEDS_NONTRAD")` do echo -n >z.c test $i != ./alias.h || echo "#include #include " >>z.c test $i != ./arpa/inet.h || echo "#include #include " >>z.c test $i != ./cam/cam.h || echo "#include " >>z.c test $i != ./cam/cam_ccb.h || echo "#include #include #include " >>z.c test $i != ./cam/scsi/scsi_all.h || echo "#include #include " >>z.c test $i != ./cam/scsi/scsi_cd.h || echo "#include #include #include " >>z.c test $i != ./cam/scsi/scsi_ch.h || echo "#include #include #include #include " >>z.c test $i != ./cam/scsi/scsi_da.h || echo "#include " >>z.c test $i != ./cam/scsi/scsi_pass.h || echo "#include #include #include " >>z.c test $i != ./cam/scsi/scsi_pt.h || echo "#include " >>z.c test $i != ./cam/scsi/scsi_sa.h || echo "#include #include #include #include " >>z.c test $i != ./cam/scsi/scsi_targetio.h || echo "#include " >>z.c test $i != ./camlib.h || echo "#include " >>z.c test $i != ./devstat.h || echo "#include " >>z.c test $i != ./fetch.h || echo "#include #include " >>z.c test $i != ./fts.h || echo "#include " >>z.c test $i != ./gnuregex.h || echo "#include " >>z.c test $i != ./grp.h || echo "#include " >>z.c test $i != ./isofs/cd9660/cd9660_mount.h || echo "#include #include " >>z.c test $i != ./isofs/cd9660/cd9660_node.h || echo "#include #include #include " >>z.c test $i != ./isofs/cd9660/cd9660_rrip.h || echo "#include #include " >>z.c test $i != ./isofs/cd9660/iso.h || echo "#include " >>z.c test $i != ./isofs/cd9660/iso_rrip.h || echo "#include " >>z.c test $i != ./libatm.h || echo "#include #include #include #include #include #include #include #include #include " >>z.c test $i != ./libdisk.h || echo "#include " >>z.c test $i != ./link.h || echo "#include #include " >>z.c test $i != ./login_cap.h || echo "#include " >>z.c test $i != ./md4.h || echo "#include " >>z.c test $i != ./md5.h || echo "#include " >>z.c test $i != ./mpool.h || echo "#include " >>z.c test $i != ./machine/globaldata.h || echo "#include #include " >>z.c test $i != ./machine/bootinfo.h || echo "#include " >>z.c test $i != ./machine/bus.h || echo "#include " >>z.c test $i != ./machine/cpu.h || echo "#include " >>z.c test $i != ./machine/cpufunc.h || echo "#include " >>z.c test $i != ./machine/db_machdep.h || echo "#include " >>z.c test $i != ./machine/dvcfg.h || echo "#include " >>z.c test $i != ./machine/elf.h || echo "#include " >>z.c test $i != ./machine/frame.h || echo "#include " >>z.c test $i != ./machine/i4b_ioctl.h || echo "#include " >>z.c test $i != ./machine/i4b_trace.h || echo "#include " >>z.c test $i != ./machine/iic.h || echo "#include " >>z.c test $i != ./machine/in_cksum.h || echo "#include #include #include #include " >>z.c test $i != ./machine/ioctl_bt848.h || echo "#include " >>z.c test $i != ./machine/lock.h || echo "#include " >>z.c test $i != ./machine/md_var.h || echo "#include " >>z.c test $i != ./machine/npx.h || echo "#include " >>z.c test $i != ./machine/pc/bios.h || echo "#include " >>z.c test $i != ./machine/pc/vesa.h || echo "#include " >>z.c test $i != ./machine/pcb.h || echo "#include " >>z.c test $i != ./machine/pcb_ext.h || echo "#include " >>z.c test $i != ./machine/pmap.h || echo "#include #include #include " >>z.c test $i != ./machine/profile.h || echo "#include " >>z.c test $i != ./machine/si.h || echo "#include #include " >>z.c test $i != ./machine/smb.h || echo "#include " >>z.c test $i != ./machine/specialreg.h || echo "#include #include " >>z.c test $i != ./machine/types.h || echo "#include " >>z.c test $i != ./machine/vm86.h || echo "#include " >>z.c test $i != ./mqueue.h || echo "#include " >>z.c test $i != ./msdosfs/bootsect.h || echo "#include " >>z.c test $i != ./msdosfs/bpb.h || echo "#include " >>z.c test $i != ./msdosfs/direntry.h || echo "#include " >>z.c test $i != ./msdosfs/denode.h || echo "#include #include " >>z.c test $i != ./msdosfs/msdosfsmount.h || echo "#include #include " >>z.c test $i != ./net/bridge.h || echo "#include #include " >>z.c test $i != ./net/bpf.h || echo "#include " >>z.c test $i != ./net/bpfdesc.h || echo "#include " >>z.c test $i != ./net/ethernet.h || echo "#include " >>z.c test $i != ./net/hostcache.h || echo "#include " >>z.c test $i != ./net/if.h || echo "#include #include " >>z.c test $i != ./net/if_arp.h || echo "#include #include " >>z.c test $i != ./net/if_atm.h || echo "#include #include #include " >>z.c test $i != ./net/if_dl.h || echo "#include " >>z.c test $i != ./net/if_llc.h || echo "#include " >>z.c test $i != ./net/if_mib.h || echo "#include #include #include " >>z.c test $i != ./net/if_ppp.h || echo "#include #include " >>z.c test $i != ./net/if_pppvar.h || echo "#define NPPP 1 #include #include #include #include #include #include " >>z.c test $i != ./net/if_slvar.h || echo "#include #include #include #include #include #include #include #include #include " >>z.c test $i != ./net/if_sppp.h || echo "#include #include #include #include #include " >>z.c test $i != ./net/if_tun.h || echo "#include " >>z.c test $i != ./net/if_tunvar.h || echo "#include #include #include #include #include " >>z.c test $i != ./net/if_var.h || echo "#include #include #include " >>z.c test $i != ./net/if_vlan_var.h || echo "#include #include #include #include " >>z.c test $i != ./net/ppp_defs.h || echo "#include " >>z.c test $i != ./net/radix.h || echo "#include " >>z.c test $i != ./net/iso88025.h || echo "#include #include #include " >>z.c test $i != ./net/raw_cb.h || echo "#include #include " >>z.c test $i != ./net/route.h || echo "#include #include " >>z.c test $i != ./net/slcompress.h || echo "#include #include #include #include #include " >>z.c test $i != ./netatalk/aarp.h || echo "#include #include #include #include #include " >>z.c test $i != ./netatalk/at.h || echo "#include " >>z.c test $i != ./netatalk/at_extern.h || echo "#include " >>z.c test $i != ./netatalk/at_var.h || echo "#include #include #include #include #include #include " >>z.c test $i != ./netatalk/ddp.h || echo "#include " >>z.c test $i != ./netatalk/ddp_var.h || echo "#include #include #include #include " >>z.c test $i != ./netatalk/phase2.h || echo "#include " >>z.c test $i != ./netatm/atm.h || echo "#include #include #include " >>z.c test $i != ./netatm/atm_cm.h || echo "#include #include #include #include #include " >>z.c test $i != ./netatm/atm_if.h || echo "#include " >>z.c test $i != ./netatm/atm_ioctl.h || echo "#include #include #include #include #include #include #include " >>z.c test $i != ./netatm/ipatm/ipatm_serv.h || echo "#include #include #include #include #define ATM_KERNEL #include #include #include #include #include #include " >>z.c test $i != ./netatm/kern_include.h || echo "#include #include #include #include " >>z.c test $i != ./netatm/port.h || echo "#include #define ATM_KERNEL" >>z.c test $i != ./netatm/atm_sap.h || echo "#include " >>z.c test $i != ./netatm/atm_sys.h || echo "#include " >>z.c test $i != ./netatm/queue.h || echo "#include " >>z.c test $i != ./netatm/uni/sscf_uni_var.h || echo "#include #include #include #include #define ATM_KERNEL #include #include #include #include #include " >>z.c test $i != ./netatm/uni/sscop.h || echo "#include " >>z.c test $i != ./netatm/uni/sscop_misc.h || echo "#include " >>z.c test $i != ./netatm/uni/sscop_pdu.h || echo "#include #define ATM_KERNEL #include #include " >>z.c test $i != ./netatm/uni/sscop_var.h || echo "#include #include #include #include #define ATM_KERNEL #include #include #include #include #include #include " >>z.c test $i != ./netatm/uni/unisig_decode.h || echo "#include #include #include #include #define ATM_KERNEL #include #include #include " >>z.c test $i != ./netatm/uni/unisig_mbuf.h || echo "#include #define ATM_KERNEL #include " >>z.c test $i != ./netatm/uni/unisig_msg.h || echo "#include #include #include #include " >>z.c test $i != ./netatm/unisig_var.h || echo "#include " >>z.c test $i != ./netatm/uni/uniip_var.h || echo "#include " >>z.c test $i != ./netinet/icmp_var.h || echo "#include #include #include #include #include " >>z.c test $i != ./netinet/if_atm.h || echo "#include " >>z.c test $i != ./netinet/if_ether.h || echo "#include #include #include " >>z.c test $i != ./netinet/if_fddi.h || echo "#include " >>z.c test $i != ./netinet/igmp.h || echo "#include #include " >>z.c test $i != ./netinet/igmp_var.h || echo "#include " >>z.c test $i != ./netinet/in.h || echo "#include " >>z.c test $i != ./netinet/in_hostcache.h || echo "#include #include " >>z.c test $i != ./netinet/in_pcb.h || echo "#include #include #include #include " >>z.c test $i != ./netinet/in_systm.h || echo "#include " >>z.c test $i != ./netinet/in_var.h || echo "#include #include #include #include #include " >>z.c test $i != ./netinet/ip.h || echo "#include #include #include " >>z.c test $i != ./netinet/ip_auth.h || echo "#include #include #include #include #include #include " >>z.c test $i != ./netinet/ip_compat.h || echo "#include " >>z.c test $i != ./netinet/ip_dummynet.h || echo "#include #include #include #include " >>z.c test $i != ./netinet/ip_fil.h || echo "#include #include #include #include #include " >>z.c test $i != ./netinet/ip_flow.h || echo "#include #include #include #include " >>z.c test $i != ./netinet/ip_frag.h || echo "#include #include #include #include #include #include #include " >>z.c test $i != ./netinet/ip_fw.h || echo "#include #include " >>z.c test $i != ./netinet/ip_icmp.h || echo "#include #include #include #include " >>z.c test $i != ./netinet/ip_mroute.h || echo "#include #include #include #include #include " >>z.c test $i != ./netinet/ip_nat.h || echo "#include #include #include #include #include #include " >>z.c test $i != ./netinet/ip_proxy.h || echo "#include #include #include #include #include #include #include " >>z.c test $i != ./netinet/ip_state.h || echo "#include #include #include #include #include #include " >>z.c test $i != ./netinet/ip_var.h || echo "#include #include " >>z.c test $i != ./netinet/tcp.h || echo "#include " >>z.c test $i != ./netinet/tcp_debug.h || echo "#include #include #include #include #include #include #include #include " >>z.c test $i != ./netinet/tcp_var.h || echo "#include #include #include " >>z.c test $i != ./netinet/tcpip.h || echo "#include #include #include #include " >>z.c test $i != ./netinet/udp.h || echo "#include " >>z.c test $i != ./netinet/udp_var.h || echo "#include #include #include #include #include #include " >>z.c test $i != ./netipx/ipx.h || echo "#include " >>z.c test $i != ./netipx/ipx_if.h || echo "#include #include #include #include #include " >>z.c test $i != ./netipx/ipx_ip.h || echo "#include #include #include #include #include #include " >>z.c test $i != ./netipx/ipx_pcb.h || echo "#include #include #include #include " >>z.c test $i != ./netipx/ipx_var.h || echo "#include " >>z.c test $i != ./netipx/spx.h || echo "#include #include " >>z.c test $i != ./netipx/spx_debug.h || echo "#include #include #include " >>z.c test $i != ./netkey/key.h || echo "#include " >>z.c test $i != ./nfs/nfs.h || echo "#include #include #include #include " >>z.c test $i != ./nfs/krpc.h || echo "#include " >>z.c test $i != ./nfs/nfsdiskless.h || echo "#include #include #include #include #include #include #include #include " >>z.c test $i != ./nfs/nfsm_subs.h || echo "#include " >>z.c test $i != ./nfs/nfsmount.h || echo "#include #include #include #include #include #include " >>z.c test $i != ./nfs/nfsnode.h || echo "#include #include #include #include #include #include " >>z.c test $i != ./nfs/nfsproto.h || echo "#include #include " >>z.c test $i != ./nfs/nfsrtt.h || echo "#include #include #include " >>z.c test $i != ./nfs/nfsrvcache.h || echo "#include #include #include #include #include #include " >>z.c test $i != ./nfs/nfsv2.h || echo "#include #include " >>z.c test $i != ./nfs/rpcv2.h || echo "#include " >>z.c test $i != ./pcap-namedb.h || echo "#include " >>z.c test $i != ./pccard/driver.h || echo "#include " >>z.c test $i != ./posix4/mqueue.h || echo "#include " >>z.c test $i != ./protocols/dumprestore.h || echo "#include #include " >>z.c test $i != ./protocols/routed.h || echo "#include #include " >>z.c test $i != ./protocols/rwhod.h || echo "#include " >>z.c test $i != ./protocols/talkd.h || echo "#include #include " >>z.c test $i != ./protocols/timed.h || echo "#include #include " >>z.c test $i != ./pthread_np.h || echo "#include " >>z.c test $i != ./readline/readline.h || echo "#include " >>z.c test $i != ./regex.h || echo "#include " >>z.c test $i != ./resolv.h || echo "#include #include " >>z.c test $i != ./rpc/auth.h || echo "#include #include " >>z.c test $i != ./rpc/auth_des.h || echo "#include #include #include " >>z.c test $i != ./rpc/auth_unix.h || echo "#include #include #include " >>z.c test $i != ./rpc/clnt.h || echo "#include #include #include " >>z.c test $i != ./rpc/des.h || echo "#include " >>z.c test $i != ./rpc/pmap_clnt.h || echo "#include #include #include #include " >>z.c test $i != ./rpc/pmap_prot.h || echo "#include #include " >>z.c test $i != ./rpc/pmap_rmt.h || echo "#include #include " >>z.c test $i != ./rpc/rpc_com.h || echo "#include " >>z.c test $i != ./rpc/rpc_msg.h || echo "#include #include #include " >>z.c test $i != ./rpc/svc.h || echo "#include #include #include #include " >>z.c test $i != ./rpc/svc_auth.h || echo "#include #include #include " >>z.c test $i != ./rpc/xdr.h || echo "#include " >>z.c test $i != ./rpcsvc/nislib.h || echo "#include " >>z.c test $i != ./rpcsvc/yp_prot.h || echo "#include #include #include #include #include #include " >>z.c test $i != ./security/pam_mod_misc.h || echo "#include " >>z.c test $i != ./skey.h || echo "#include " >>z.c test $i != ./sys/acct.h || echo "#include " >>z.c test $i != ./sys/blist.h || echo "#include " >>z.c test $i != ./sys/buf.h || echo "#include " >>z.c test $i != ./sys/callout.h || echo "#include " >>z.c test $i != ./sys/ccdvar.h || echo "#include #include #include #include " >>z.c test $i != ./sys/clist.h || echo "#include " >>z.c test $i != ./sys/conf.h || echo "#include " >>z.c test $i != ./s/types.h || echo "#include " >>z.c test $i != ./sys/devfsext.h || echo "#include " >>z.c test $i != ./sys/device.h || echo "#include " >>z.c test $i != ./sys/dkbad.h || echo "#include " >>z.c test $i != ./sys/dmap.h || echo "#include " >>z.c test $i != ./sys/domain.h || echo "#include " >>z.c test $i != ./sys/elf32.h || echo "#include " >>z.c test $i != ./sys/elf64.h || echo "#include " >>z.c test $i != ./sys/elf_generic.h || echo "#include #include " >>z.c test $i != ./sys/exec.h || echo "#include " >>z.c test $i != ./sys/fbio.h || echo "#include " >>z.c test $i != ./sys/filedesc.h || echo "#include " >>z.c test $i != ./sys/gmon.h || echo "#include " >>z.c test $i != ./sys/imgact_elf.h || echo "#include " >>z.c test $i != ./sys/interrupt.h || echo "#include " >>z.c test $i != ./sys/ipc.h || echo "#include " >>z.c test $i != ./sys/kernel.h || echo "#include " >>z.c test $i != ./sys/ktrace.h || echo "#include #include #include " >>z.c test $i != ./sys/linker.h || echo "#include " >>z.c test $i != ./sys/lkm.h || echo "#include " >>z.c test $i != ./sys/lock.h || echo "#include " >>z.c test $i != ./sys/lockf.h || echo "#include " >>z.c test $i != ./sys/malloc.h || echo "#include " >>z.c test $i != ./sys/mbuf.h || echo "#include " >>z.c test $i != ./sys/md5.h || echo "#include " >>z.c test $i != ./sys/mman.h || echo "#include " >>z.c test $i != ./sys/module.h || echo "#include " >>z.c test $i != ./sys/mount.h || echo "#include " >>z.c test $i != ./sys/msg.h || echo "#include " >>z.c test $i != ./sys/namei.h || echo "#include " >>z.c test $i != ./sys/proc.h || echo "#include " >>z.c test $i != ./sys/protosw.h || echo "#include " >>z.c test $i != ./sys/ptrace.h || echo "#include " >>z.c test $i != ./sys/resource.h || echo "#include " >>z.c test $i != ./sys/resourcevar.h || echo "#include " >>z.c test $i != ./sys/rlist.h || echo "#include " >>z.c test $i != ./sys/rman.h || echo "#include " >>z.c test $i != ./sys/rtprio.h || echo "#include " >>z.c test $i != ./sys/select.h || echo "#include " >>z.c test $i != ./sys/sem.h || echo "#include " >>z.c test $i != ./sys/shm.h || echo "#include " >>z.c test $i != ./sys/signal.h || echo "#include " >>z.c test $i != ./sys/signalvar.h || echo "#include " >>z.c test $i != ./sys/socket.h || echo "#include " >>z.c test $i != ./sys/socketvar.h || echo "#include " >>z.c test $i != ./sys/sysctl.h || echo "#include " >>z.c test $i != ./sys/sysent.h || echo "#include " >>z.c test $i != ./sys/systm.h || echo "#include " >>z.c test $i != ./sys/timeb.h || echo "#include " >>z.c test $i != ./sys/timex.h || echo "#include " >>z.c test $i != ./sys/tprintf.h || echo "#include " >>z.c test $i != ./sys/tty.h || echo "#include " >>z.c test $i != ./sys/ucred.h || echo "#include " >>z.c test $i != ./sys/uio.h || echo "#include " >>z.c test $i != ./sys/un.h || echo "#include " >>z.c test $i != ./sys/unpcb.h || echo "#include " >>z.c test $i != ./sys/user.h || echo "#include " >>z.c test $i != ./sys/vmmeter.h || echo "#include " >>z.c test $i != ./sys/vnode.h || echo "#include " >>z.c test $i != ./sys/vsio.h || echo "#include " >>z.c test $i != ./sys/wormio.h || echo "#include " >>z.c test $i != ./sys/xrpuio.h || echo "#include " >>z.c test $i != ./ufs/ffs/ffs_extern.h || echo "#include #include #include #include " >>z.c test $i != ./ufs/ffs/fs.h || echo "#include " >>z.c test $i != ./ufs/ffs/softdep.h || echo "#include #include #include #include " >>z.c test $i != ./ufs/mfs/mfs_extern.h || echo "#include " >>z.c test $i != ./ufs/mfs/mfsnode.h || echo "#include #include " >>z.c test $i != ./ufs/ufs/dinode.h || echo "#include " >>z.c test $i != ./ufs/ufs/dir.h || echo "#include " >>z.c test $i != ./ufs/ufs/inode.h || echo "#include #include " >>z.c test $i != ./ufs/ufs/quota.h || echo "#include " >>z.c test $i != ./ufs/ufs/ufs_extern.h || echo "#include #include #include " >>z.c test $i != ./ufs/ufs/ufsmount.h || echo "#include #include " >>z.c test $i != ./utime.h || echo "#include " >>z.c test $i != ./utmp.h || echo "#include " >>z.c test $i != ./vm/default_pager.h || echo "#include #include " >>z.c test $i != ./vm/pmap.h || echo "#include #include " >>z.c test $i != ./vm/swap_pager.h || echo "#include #include " >>z.c test $i != ./vm/vm.h || echo "#include " >>z.c test $i != ./vm/vm_kern.h || echo "#include #include " >>z.c test $i != ./vm/vm_map.h || echo "#include #include #include #include " >>z.c test $i != ./vm/vm_object.h || echo "#include " >>z.c test $i != ./vm/vm_page.h || echo "#include #include " >>z.c test $i != ./vm/vm_pageout.h || echo "#include " >>z.c test $i != ./vm/vm_pager.h || echo "#include #include " >>z.c test $i != ./vm/vm_zone.h || echo "#include " >>z.c sed 's/^[ ]*//' z1.c echo "#include <$i>" >>z1.c echo "int dummy;" >>z1.c # gccw is gcc with lots of warning flags. gccw -S z1.c # echo "--- <$i> ---"; CFLAGS=-O unusedinc z1.o #if ! # cc -Dconst= -Dvolatile= -traditional -S z1.c #then echo $i; bash; fi # bcc -Dconst= -Dvolatile= -D__inline= -D__i386__ -S z1.c done To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message