Browse Source

Mark __assert as noreturn

Peter S. Mazinger 19 years ago
parent
commit
cf4d1f62f9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libc/misc/assert/__assert.c

+ 1 - 1
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) {