summaryrefslogtreecommitdiff
path: root/libc/misc/assert/__assert.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-23 16:10:08 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-23 16:10:08 +0000
commitcf4d1f62f958e84763d057fdcccaeb53ac59fa55 (patch)
tree101b0f35e36624a9166d550ac1a07a71bee6a80f /libc/misc/assert/__assert.c
parent21ceae197e2c8654bdbebaac6a41bcd189df4ec3 (diff)
Mark __assert as noreturn
Diffstat (limited to 'libc/misc/assert/__assert.c')
-rw-r--r--libc/misc/assert/__assert.c2
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) {