diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-23 16:10:08 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-23 16:10:08 +0000 |
commit | cf4d1f62f958e84763d057fdcccaeb53ac59fa55 (patch) | |
tree | 101b0f35e36624a9166d550ac1a07a71bee6a80f | |
parent | 21ceae197e2c8654bdbebaac6a41bcd189df4ec3 (diff) |
Mark __assert as noreturn
-rw-r--r-- | libc/misc/assert/__assert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/assert/__assert.c b/libc/misc/assert/__assert.c index a0b215957..2fd0b3ee4 100644 --- a/libc/misc/assert/__assert.c +++ b/libc/misc/assert/__assert.c @@ -47,7 +47,7 @@ libc_hidden_proto(stderr) static int in_assert; /* bss inits to 0. */ -void __assert(const char *assertion, const char * filename, +void attribute_noreturn __assert(const char *assertion, const char * filename, int linenumber, register const char * function) { if (!in_assert) { |