diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-01-03 01:10:45 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-01-03 01:10:45 +0100 |
commit | 0ce905c057c3215d1fc1b1beb1900e206024afad (patch) | |
tree | df7be519469ad2cf28c949e64a9d996fc371cc7f /FICS/assert_error.h | |
parent | a44358a8d1fafce871ded8085a732e36720a181f (diff) |
Added _assert_error()
Diffstat (limited to 'FICS/assert_error.h')
-rw-r--r-- | FICS/assert_error.h | 10 |
1 files changed, 10 insertions, 0 deletions
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 |