]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: mark os_abort() as noreturn
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 1 Feb 2021 00:24:10 +0000 (01:24 +0100)
committerSimon Glass <sjg@chromium.org>
Wed, 3 Feb 2021 10:38:41 +0000 (03:38 -0700)
commitc30a7093e81be0dbec963b6b347f678630c2eb8d
treeb35c3e6273fdd0c4cad0983de62563b54f815a90
parent6424fba1bc4e80c43eb5eb69b9e66c0d89d1b1cf
sandbox: mark os_abort() as noreturn

gcc -fanalyzer needs the information that a function does not return to
provide accurate information.

os_abort() does not return. Mark it accordingly.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/os.h