small changes, added LIST, Makefile and .distr

This commit is contained in:
eck 1989-12-18 14:44:38 +00:00
parent 94db19641a
commit bb48507f58
4 changed files with 19 additions and 1 deletions

View file

@ -0,0 +1,3 @@
LIST
Makefile
assert.c

View file

@ -0,0 +1 @@
assert.c

View file

@ -0,0 +1,11 @@
CFLAGS=-L -LIB
.SUFFIXES: .o .e .c
.e.o:
$(CC) $(CFLAGS) -c -o $@ $*.e
clean:
rm -rf assert.o OLIST
assert.o:

View file

@ -3,10 +3,13 @@
*/
/* $Header$ */
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
void _bad_assertion(const char *expr, const char *file, int line) {
void __bad_assertion(const char *expr, const char *file, int line) {
fprintf(stderr,"Assertion \"%s\" failed, file \"%s\", line %d\n",
expr, file, line);
abort();
}