diff --git a/src/include/assert.h b/src/include/assert.h index e76ceb97..93750a1e 100644 --- a/src/include/assert.h +++ b/src/include/assert.h @@ -38,13 +38,12 @@ assert_printf ( const char *fmt, ... ) asm ( "printf" ); * @todo Make an assertion failure abort the program * */ -#define assert( condition ) \ - do { \ - if ( ASSERTING && ! (condition) ) { \ - assert_printf ( "assert(%s) failed at %s line " \ - "%d [%s]\n", #condition, __FILE__, \ - __LINE__, __FUNCTION__ ); \ - } \ +#define assert( condition ) \ + do { \ + if ( ASSERTING && ! (condition) ) { \ + assert_printf ( "assert(%s) failed at %s line %d\n", \ + #condition, __FILE__, __LINE__ ); \ + } \ } while ( 0 ) /**