]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Mark usage function as __dead2 in programs where it does not return
authorAlfonso Gregory <gfunni234@gmail.com>
Fri, 7 Jul 2023 16:39:23 +0000 (10:39 -0600)
committerWarner Losh <imp@FreeBSD.org>
Fri, 7 Jul 2023 16:45:17 +0000 (10:45 -0600)
commit6fde066264e5cb784470e05c0ab6acbb16057bbc
treea8e1f9c935de6dfc618f49c9c1365112513882b1
parent6d099821455df24fcf5b88ba0d83cccf822d970b
Mark usage function as __dead2 in programs where it does not return

In most cases, usage does not return, so mark them as __dead2. For the
cases where they do return, they have not been marked __dead2.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/735
tests/sys/cddl/zfs/bin/file_write.c
tests/sys/netinet/libalias/perf.c