Add __attribute__((__noreturn__)) to various function prototypes in usr.sbin/.
authorSascha Wildner <saw@online.de>
Sat, 13 Jan 2018 20:37:56 +0000 (21:37 +0100)
committerSascha Wildner <saw@online.de>
Sat, 13 Jan 2018 20:40:20 +0000 (21:40 +0100)
commitfe08e20ddf9efaf51ce4fbe089d786a1989e1262
tree68e02fbdd5ab4c435377550580f455dfc2836fb5
parentc35a932c86b72bfb836505433f933e12075a43ad
Add __attribute__((__noreturn__)) to various function prototypes in usr.sbin/.

This general cleanup is useful in various ways. It helps the compiler
optimize better and it also helps later GCCs detect better when to give
-Wimplicit-fallthrough warnings and when not.

Found-with: -Wsuggest-attribute=noreturn
39 files changed:
usr.sbin/ac/ac.c
usr.sbin/arp/arp.c
usr.sbin/autofs/common.h
usr.sbin/btconfig/btconfig.c
usr.sbin/burncd/burncd.c
usr.sbin/cdcontrol/cdcontrol.c
usr.sbin/clog/clog.c
usr.sbin/dntpd/client.h
usr.sbin/fdcontrol/fdcontrol.c
usr.sbin/ftp-proxy/ftp-proxy.c
usr.sbin/gifconfig/gifconfig.c
usr.sbin/inetd/builtins.c
usr.sbin/lpr/common_source/lp.h
usr.sbin/lpr/lpc/extern.h
usr.sbin/lpr/lpd/extern.h
usr.sbin/mld6query/mld6query.c
usr.sbin/mrouted/mtrace.c
usr.sbin/ndiscvt/inf-token.l
usr.sbin/ndp/ndp.c
usr.sbin/pfctl/pfctl.c
usr.sbin/pflogd/pflogd.c
usr.sbin/ppp/main.h
usr.sbin/pwd_mkdb/pwd_mkdb.c
usr.sbin/route6d/route6d.c
usr.sbin/rpc.lockd/lockd.c
usr.sbin/rpc.ypupdated/ypupdated_main.c
usr.sbin/rpc.ypxfrd/ypxfrd_main.c
usr.sbin/rpcbind/rpcbind.h
usr.sbin/rwhod/rwhod.c
usr.sbin/sensorsd/sensorsd.c
usr.sbin/setkey/setkey.c
usr.sbin/setkey/token.l
usr.sbin/sysvipcd/sysvipcd.c
usr.sbin/timed/timed/extern.h
usr.sbin/timed/timedc/extern.h
usr.sbin/traceroute/traceroute.c
usr.sbin/traceroute6/traceroute6.c
usr.sbin/watchdogd/watchdogd.c
usr.sbin/ypbind/ypbind.c