Add __attribute__((__noreturn__)) to various function prototypes in libexec/.
authorSascha Wildner <saw@online.de>
Sun, 31 Dec 2017 16:42:07 +0000 (17:42 +0100)
committerSascha Wildner <saw@online.de>
Sun, 31 Dec 2017 16:42:26 +0000 (17:42 +0100)
commitb9c8dce803ada815871f16c4f1bc2c9ad84e662f
treeec8eb7b8bac54d03ca817661787a663f6affcc08
parentdb3c5abf36b56d86524bc532462a3da9723e7c3e
Add __attribute__((__noreturn__)) to various function prototypes in libexec/.

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
libexec/atrun/atrun.c
libexec/dma/dma.h
libexec/ftpd/Makefile
libexec/ftpd/extern.h
libexec/rbootd/defs.h
libexec/rpc.rstatd/rstatd.c
libexec/rpc.rusersd/rusersd.c
libexec/rpc.sprayd/sprayd.c
libexec/telnetd/ext.h
libexec/telnetd/telnetd.c
libexec/tftpd/tftpd.c