X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fassert.c;fp=functions%2Fassert.c;h=0000000000000000000000000000000000000000;hb=94cec7268060142c361c882c0a54d4b0052a591c;hp=3e887d9360c6cd5326cff65d11d085f032cff212;hpb=c8f799d852e3698468a78954d82588e841cc0b70;p=pdclib.old diff --git a/functions/assert.c b/functions/assert.c deleted file mode 100644 index 3e887d9..0000000 --- a/functions/assert.c +++ /dev/null @@ -1,17 +0,0 @@ -/* ---------------------------------------------------------------------------- - * $Id$ - * ---------------------------------------------------------------------------- - * Public Domain C Library - http://pdclib.sourceforge.net - * This code is Public Domain. Use, modify, and redistribute at will. - * --------------------------------------------------------------------------*/ - -#include -#include - -__assert( char const * const expression, char const * const file, - char const * const function, int const line ) -{ - fprintf(stderr, "Assertion failed: %s, function %s, file %s, line %d.\n", - expression, function, file, line ); - abort(); -}