From: whitequark Date: Sun, 26 Jul 2015 09:43:22 +0000 (+0300) Subject: Mark abort() as __attribute__((noreturn)). X-Git-Tag: 24jan2021_ls180~2188 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eef1aa77efbd51a7539c416a44d0a317906e3a80;p=litex.git Mark abort() as __attribute__((noreturn)). --- diff --git a/software/include/base/stdlib.h b/software/include/base/stdlib.h index da67b4e2..4b9bd049 100644 --- a/software/include/base/stdlib.h +++ b/software/include/base/stdlib.h @@ -63,7 +63,7 @@ char *number(char *buf, char *end, unsigned long num, int base, int size, int pr unsigned int rand(void); void srand(unsigned int seed); -void abort(void); +void abort(void) __attribute__((noreturn)); void qsort(void *base, size_t nmemb, size_t size, int(*compar)(const void *, const void *));