commit | 60d03c53e13a3d1dc0eee11242c51357390882ed | [log] [tgz] |
---|---|---|
author | Patryk Duda <patrykd@google.com> | Thu May 02 13:49:05 2024 +0200 |
committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Mon May 06 17:32:17 2024 +0100 |
tree | ca4e9644f8d1bd1bf339efddcb1888e645d89d92 | |
parent | 26a8a205424ffe2e96f36f8df415a0786aa3d9ac [diff] |
libc: minimal: Add 'noreturn' attribute to abort() and exit() This aligns abort() and exit() definitions with other libc. Without 'noreturn' attribute, compilers have to assume that we will return from these functions which can lead to surprising errors like 'error: non-void function does not return a value'. Signed-off-by: Patryk Duda <patrykd@google.com>