Add __attribute__((__noreturn__)) to various function prototypes in bin/.
authorSascha Wildner <saw@online.de>
Sat, 9 Dec 2017 08:09:51 +0000 (09:09 +0100)
committerSascha Wildner <saw@online.de>
Sat, 9 Dec 2017 08:10:27 +0000 (09:10 +0100)
commita31274954f5c10e5a80969dcfc719d665f36a26c
treea43c6a23ca82510e1984f3e6601add7f6e4352af
parent09822cfc05bf65a0ceebc893c839a249240dfb1a
Add __attribute__((__noreturn__)) to various function prototypes in bin/.

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
bin/cp/extern.h
bin/cpdup/cpdup.h
bin/dd/extern.h
bin/expr/expr.y
bin/ls/extern.h
bin/mined/mined.h
bin/pax/extern.h
bin/pwd/pwd.c
bin/rcp/extern.h
bin/rcp/rcp.c
bin/stty/extern.h