]> pd.if.org Git - pdclib/blobdiff - functions/_PDCLIB/assert.c
Removed the header include guard 'optimization'.
[pdclib] / functions / _PDCLIB / assert.c
index ed56fc60727d61a4639a2f72e1509e16fb98ed2d..fb3d24bfb1260219dbc401b77c6418e5df933b6f 100644 (file)
 
 #ifndef REGTEST
 
-#ifndef _PDCLIB_AUX_H
-#define _PDCLIB_AUX_H _PDCLIB_AUX_H
 #include <_PDCLIB_aux.h>
-#endif
 
 #if _PDCLIB_C_VERSION == 99
 void _PDCLIB_assert( char const * const message1, char const * const function, char const * const message2 )
@@ -45,7 +42,7 @@ static int UNEXPECTED_ABORT = 1;
 static void aborthandler( int sig )
 {
     TESTCASE( ! EXPECTED_ABORT );
-    exit( (signed int)rc );
+    exit( (signed int)TEST_RESULTS );
 }
 
 #define NDEBUG