Module Name: src Committed By: mrg Date: Sun Feb 3 03:19:32 UTC 2019
Modified Files: src/games/backgammon/teachgammon: teach.c src/games/battlestar: command2.c command3.c src/games/larn: main.c monster.c movem.c object.c src/games/mille: move.c src/games/phantasia: fight.c main.c misc.c src/games/quiz: quiz.c src/games/rogue: play.c room.c src/games/sail: pl_5.c src/libexec/telnetd: state.c src/sbin/fsck_ext2fs: main.c src/sbin/fsck_ffs: quota2.c src/sbin/fsck_lfs: main.c src/sbin/restore: interactive.c src/sys/arch/amd64/amd64: db_disasm.c trap.c src/sys/arch/i386/i386: process_machdep.c trap.c src/sys/compat/linux/common: linux_hdio.c src/sys/compat/ossaudio: ossaudio.c src/sys/ddb: db_examine.c db_write_cmd.c src/sys/dev/acpi: acpi_cpu_cstate.c src/sys/dev/bluetooth: btsco.c src/sys/dev/ic: adwlib.c elink3.c isp_netbsd.c ncr53c9x.c pdq_ifsubr.c rtw.c src/sys/dev/isa: fd.c gus.c if_ate.c sbdsp.c src/sys/dev/pci: if_bce.c if_bge.c if_dge.c if_ipw.c if_iwi.c if_msk.c if_sk.c mpii.c pdcsata.c src/sys/dev/pci/bktr: bktr_core.c src/sys/dev/pcmcia: if_ray.c pcmcia_cis.c src/sys/dev/scsipi: atapi_base.c st.c src/sys/dev/usb: umass.c usb.c src/sys/dev/wscons: wsdisplay.c src/sys/kern: kern_rndpool.c kern_synch.c sys_descrip.c sys_ptrace_common.c src/sys/net: if_fddisubr.c if_strip.c src/sys/netbt: hci_ioctl.c src/sys/nfs: nfs_serv.c nfs_syscalls.c src/tests/include: t_paths.c src/tests/lib/libc/sys: t_ptrace_wait.c t_sendrecv.c src/usr.bin/colcrt: colcrt.c src/usr.bin/ctags: ctags.c fortran.c src/usr.bin/deroff: deroff.c src/usr.bin/fstat: fstat.c src/usr.bin/ftp: domacro.c src/usr.bin/indent: indent.c io.c lexi.c parse.c src/usr.bin/jot: jot.c src/usr.bin/make: var.c src/usr.bin/rdist: gram.y server.c src/usr.bin/rs: rs.c src/usr.bin/sockstat: sockstat.c src/usr.bin/ul: ul.c src/usr.bin/vgrind: vfontedpr.c src/usr.sbin/acpitools/aml: aml_store.c src/usr.sbin/bootp/common: readfile.c src/usr.sbin/btdevctl: db.c src/usr.sbin/lpr/filters: lpf.c src/usr.sbin/lpr/lpd: printjob.c src/usr.sbin/lpr/lprm: lprm.c src/usr.sbin/makefs: udf.c src/usr.sbin/map-mbone: mapper.c src/usr.sbin/mrouted: main.c src/usr.sbin/mtrace: mtrace.c src/usr.sbin/npf/npfctl: npfctl.c src/usr.sbin/rtadvd: advcap.c src/usr.sbin/sup/source: supfilesrv.c src/usr.sbin/syslogd: syslogd.c src/usr.sbin/wsmuxctl: wsmuxctl.c Log Message: - add or adjust /* FALLTHROUGH */ where appropriate - add __unreachable() after functions that can return but won't in this case, and thus can't be marked __dead easily To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/games/backgammon/teachgammon/teach.c cvs rdiff -u -r1.3 -r1.4 src/games/battlestar/command2.c cvs rdiff -u -r1.4 -r1.5 src/games/battlestar/command3.c cvs rdiff -u -r1.25 -r1.26 src/games/larn/main.c cvs rdiff -u -r1.18 -r1.19 src/games/larn/monster.c cvs rdiff -u -r1.9 -r1.10 src/games/larn/movem.c cvs rdiff -u -r1.16 -r1.17 src/games/larn/object.c cvs rdiff -u -r1.18 -r1.19 src/games/mille/move.c cvs rdiff -u -r1.13 -r1.14 src/games/phantasia/fight.c cvs rdiff -u -r1.23 -r1.24 src/games/phantasia/main.c cvs rdiff -u -r1.21 -r1.22 src/games/phantasia/misc.c cvs rdiff -u -r1.27 -r1.28 src/games/quiz/quiz.c cvs rdiff -u -r1.9 -r1.10 src/games/rogue/play.c cvs rdiff -u -r1.13 -r1.14 src/games/rogue/room.c cvs rdiff -u -r1.25 -r1.26 src/games/sail/pl_5.c cvs rdiff -u -r1.30 -r1.31 src/libexec/telnetd/state.c cvs rdiff -u -r1.38 -r1.39 src/sbin/fsck_ext2fs/main.c cvs rdiff -u -r1.6 -r1.7 src/sbin/fsck_ffs/quota2.c cvs rdiff -u -r1.52 -r1.53 src/sbin/fsck_lfs/main.c cvs rdiff -u -r1.27 -r1.28 src/sbin/restore/interactive.c cvs rdiff -u -r1.25 -r1.26 src/sys/arch/amd64/amd64/db_disasm.c cvs rdiff -u -r1.115 -r1.116 src/sys/arch/amd64/amd64/trap.c cvs rdiff -u -r1.91 -r1.92 src/sys/arch/i386/i386/process_machdep.c cvs rdiff -u -r1.296 -r1.297 src/sys/arch/i386/i386/trap.c cvs rdiff -u -r1.17 -r1.18 src/sys/compat/linux/common/linux_hdio.c cvs rdiff -u -r1.73 -r1.74 src/sys/compat/ossaudio/ossaudio.c cvs rdiff -u -r1.36 -r1.37 src/sys/ddb/db_examine.c cvs rdiff -u -r1.27 -r1.28 src/sys/ddb/db_write_cmd.c cvs rdiff -u -r1.59 -r1.60 src/sys/dev/acpi/acpi_cpu_cstate.c cvs rdiff -u -r1.36 -r1.37 src/sys/dev/bluetooth/btsco.c cvs rdiff -u -r1.41 -r1.42 src/sys/dev/ic/adwlib.c cvs rdiff -u -r1.144 -r1.145 src/sys/dev/ic/elink3.c cvs rdiff -u -r1.90 -r1.91 src/sys/dev/ic/isp_netbsd.c cvs rdiff -u -r1.149 -r1.150 src/sys/dev/ic/ncr53c9x.c cvs rdiff -u -r1.60 -r1.61 src/sys/dev/ic/pdq_ifsubr.c cvs rdiff -u -r1.128 -r1.129 src/sys/dev/ic/rtw.c cvs rdiff -u -r1.112 -r1.113 src/sys/dev/isa/fd.c cvs rdiff -u -r1.113 -r1.114 src/sys/dev/isa/gus.c cvs rdiff -u -r1.50 -r1.51 src/sys/dev/isa/if_ate.c cvs rdiff -u -r1.138 -r1.139 src/sys/dev/isa/sbdsp.c cvs rdiff -u -r1.50 -r1.51 src/sys/dev/pci/if_bce.c src/sys/dev/pci/if_dge.c cvs rdiff -u -r1.322 -r1.323 src/sys/dev/pci/if_bge.c cvs rdiff -u -r1.71 -r1.72 src/sys/dev/pci/if_ipw.c cvs rdiff -u -r1.110 -r1.111 src/sys/dev/pci/if_iwi.c cvs rdiff -u -r1.85 -r1.86 src/sys/dev/pci/if_msk.c cvs rdiff -u -r1.93 -r1.94 src/sys/dev/pci/if_sk.c cvs rdiff -u -r1.20 -r1.21 src/sys/dev/pci/mpii.c cvs rdiff -u -r1.30 -r1.31 src/sys/dev/pci/pdcsata.c cvs rdiff -u -r1.55 -r1.56 src/sys/dev/pci/bktr/bktr_core.c cvs rdiff -u -r1.91 -r1.92 src/sys/dev/pcmcia/if_ray.c cvs rdiff -u -r1.55 -r1.56 src/sys/dev/pcmcia/pcmcia_cis.c cvs rdiff -u -r1.29 -r1.30 src/sys/dev/scsipi/atapi_base.c cvs rdiff -u -r1.234 -r1.235 src/sys/dev/scsipi/st.c cvs rdiff -u -r1.167 -r1.168 src/sys/dev/usb/umass.c cvs rdiff -u -r1.176 -r1.177 src/sys/dev/usb/usb.c cvs rdiff -u -r1.152 -r1.153 src/sys/dev/wscons/wsdisplay.c cvs rdiff -u -r1.17 -r1.18 src/sys/kern/kern_rndpool.c cvs rdiff -u -r1.322 -r1.323 src/sys/kern/kern_synch.c cvs rdiff -u -r1.31 -r1.32 src/sys/kern/sys_descrip.c cvs rdiff -u -r1.46 -r1.47 src/sys/kern/sys_ptrace_common.c cvs rdiff -u -r1.109 -r1.110 src/sys/net/if_fddisubr.c cvs rdiff -u -r1.112 -r1.113 src/sys/net/if_strip.c cvs rdiff -u -r1.13 -r1.14 src/sys/netbt/hci_ioctl.c cvs rdiff -u -r1.175 -r1.176 src/sys/nfs/nfs_serv.c cvs rdiff -u -r1.160 -r1.161 src/sys/nfs/nfs_syscalls.c cvs rdiff -u -r1.16 -r1.17 src/tests/include/t_paths.c cvs rdiff -u -r1.69 -r1.70 src/tests/lib/libc/sys/t_ptrace_wait.c cvs rdiff -u -r1.5 -r1.6 src/tests/lib/libc/sys/t_sendrecv.c cvs rdiff -u -r1.8 -r1.9 src/usr.bin/colcrt/colcrt.c cvs rdiff -u -r1.12 -r1.13 src/usr.bin/ctags/ctags.c cvs rdiff -u -r1.11 -r1.12 src/usr.bin/ctags/fortran.c cvs rdiff -u -r1.11 -r1.12 src/usr.bin/deroff/deroff.c cvs rdiff -u -r1.111 -r1.112 src/usr.bin/fstat/fstat.c cvs rdiff -u -r1.22 -r1.23 src/usr.bin/ftp/domacro.c cvs rdiff -u -r1.23 -r1.24 src/usr.bin/indent/indent.c cvs rdiff -u -r1.17 -r1.18 src/usr.bin/indent/io.c cvs rdiff -u -r1.14 -r1.15 src/usr.bin/indent/lexi.c cvs rdiff -u -r1.7 -r1.8 src/usr.bin/indent/parse.c cvs rdiff -u -r1.26 -r1.27 src/usr.bin/jot/jot.c cvs rdiff -u -r1.221 -r1.222 src/usr.bin/make/var.c cvs rdiff -u -r1.13 -r1.14 src/usr.bin/rdist/gram.y cvs rdiff -u -r1.32 -r1.33 src/usr.bin/rdist/server.c cvs rdiff -u -r1.15 -r1.16 src/usr.bin/rs/rs.c cvs rdiff -u -r1.19 -r1.20 src/usr.bin/sockstat/sockstat.c cvs rdiff -u -r1.19 -r1.20 src/usr.bin/ul/ul.c cvs rdiff -u -r1.17 -r1.18 src/usr.bin/vgrind/vfontedpr.c cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/acpitools/aml/aml_store.c cvs rdiff -u -r1.20 -r1.21 src/usr.sbin/bootp/common/readfile.c cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/btdevctl/db.c cvs rdiff -u -r1.14 -r1.15 src/usr.sbin/lpr/filters/lpf.c cvs rdiff -u -r1.56 -r1.57 src/usr.sbin/lpr/lpd/printjob.c cvs rdiff -u -r1.19 -r1.20 src/usr.sbin/lpr/lprm/lprm.c cvs rdiff -u -r1.18 -r1.19 src/usr.sbin/makefs/udf.c cvs rdiff -u -r1.27 -r1.28 src/usr.sbin/map-mbone/mapper.c cvs rdiff -u -r1.25 -r1.26 src/usr.sbin/mrouted/main.c cvs rdiff -u -r1.41 -r1.42 src/usr.sbin/mtrace/mtrace.c cvs rdiff -u -r1.57 -r1.58 src/usr.sbin/npf/npfctl/npfctl.c cvs rdiff -u -r1.17 -r1.18 src/usr.sbin/rtadvd/advcap.c cvs rdiff -u -r1.51 -r1.52 src/usr.sbin/sup/source/supfilesrv.c cvs rdiff -u -r1.130 -r1.131 src/usr.sbin/syslogd/syslogd.c cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/wsmuxctl/wsmuxctl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.