commit 8eff40934c430921bd969000e7cd9c9f6a45ddf6 Author: Sascha Wildner <s...@online.de> Date: Fri Jan 19 11:16:52 2018 +0100
Add __attribute__((__noreturn__)) to a number of usage() like functions. These were not caught in the -Wsuggest-attribute=noreturn cleanup because they were already static at that point. There are likely more such cases but I don't know how to find them systematically. Summary of changes: bin/ln/ln.c | 2 +- sbin/hammer/hammer.c | 2 +- sbin/md5/md5.c | 2 +- usr.bin/ipcrm/ipcrm.c | 3 +-- usr.bin/jot/jot.c | 3 +-- usr.bin/tr/tr.c | 2 +- usr.sbin/newsyslog/newsyslog.c | 2 +- usr.sbin/sicontrol/sicontrol.c | 3 +-- 8 files changed, 8 insertions(+), 11 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8eff40934c430921bd969000e7cd9c9f6a45ddf6 -- DragonFly BSD source repository