From 0ce905c057c3215d1fc1b1beb1900e206024afad Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Wed, 3 Jan 2024 01:10:45 +0100 Subject: Added _assert_error() --- FICS/assert_error.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 FICS/assert_error.h (limited to 'FICS/assert_error.h') diff --git a/FICS/assert_error.h b/FICS/assert_error.h new file mode 100644 index 0000000..2de6438 --- /dev/null +++ b/FICS/assert_error.h @@ -0,0 +1,10 @@ +#ifndef ASSERT_ERROR_H +#define ASSERT_ERROR_H + +#ifndef __dead +#define __dead __attribute__((__noreturn__)) +#endif + +__dead void _assert_error(const char *, const long int); + +#endif -- cgit v1.2.3