X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fassert.c;h=3e887d9360c6cd5326cff65d11d085f032cff212;hb=c8f799d852e3698468a78954d82588e841cc0b70;hp=37213474d42d947ffb8780a69bca4d1672966e44;hpb=f36203b64ed60547688aeb3f614b3d1c1f581c27;p=pdclib.old diff --git a/functions/assert.c b/functions/assert.c index 3721347..3e887d9 100644 --- a/functions/assert.c +++ b/functions/assert.c @@ -1,15 +1,15 @@ -// ---------------------------------------------------------------------------- -// $Id$ -// ---------------------------------------------------------------------------- -// Public Domain C Library - http://pdclib.sourceforge.net -// This code is Public Domain. Use, modify, and redistribute at will. -// ---------------------------------------------------------------------------- +/* ---------------------------------------------------------------------------- + * $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 ) + char const * const function, int const line ) { fprintf(stderr, "Assertion failed: %s, function %s, file %s, line %d.\n", expression, function, file, line );