Skip to content
Commit 60d03c53 authored by Patryk Duda's avatar Patryk Duda Committed by Fabio Baltieri
Browse files

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: default avatarPatryk Duda <patrykd@google.com>
parent 26a8a205
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment