ack/lang/cem/libcc.ansi/assert/assert.c

15 lines
181 B
C
Raw Normal View History

1989-05-10 10:43:58 +00:00
/*
* assert.c - diagnostics
*/
1994-06-24 14:02:31 +00:00
/* $Id$ */
1989-05-10 10:43:58 +00:00
#include <assert.h>
1989-05-10 10:43:58 +00:00
#include <stdio.h>
#include <stdlib.h>
1989-05-10 10:43:58 +00:00
void __bad_assertion(const char *mess) {
1989-05-10 10:43:58 +00:00
fputs(mess, stderr);
abort();
1989-05-10 10:43:58 +00:00
}