Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.bin/atto



Module Name:    src
Committed By:   riastradh
Date:           Tue Nov  3 09:12:52 UTC 2026

Modified Files:
        src/usr.bin/atto: header.h main.c

Log Message:
atto(1): Sprinkle __dead on functions that never return.

Pacifies -Werror=missing-noreturn in clang:

/home/source/ab/HEAD-llvm/src/usr.bin/atto/main.c:24:1: error: function 'usage' could be declared with attribute 'noreturn' [-Werror,-Wmissing-noreturn]
{
^
/home/source/ab/HEAD-llvm/src/usr.bin/atto/main.c:134:1: error: function 'fatal' could be declared with attribute 'noreturn' [-Werror,-Wmissing-noreturn]
{
^
2 errors generated.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/atto/header.h
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/atto/main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index