metal-cos/lib/libc/assert.c
2014-10-14 12:39:26 -07:00

12 lines
211 B
C

#include <stdio.h>
#include <stdlib.h>
void
__assert(const char *func, const char *file, int line, const char *expr)
{
//fprintf(stderr, "Assert (%s): %s %s:%d\n", expr, func, file, line);
abort();
}