/* $Id$ */
-/* Release $Name$ */
-
/* exit( int )
This file is part of the Public Domain C Library (PDCLib).
*/
#define NUMBER_OF_SLOTS 40
-void (*_PDCLIB_regstack[ NUMBER_OF_SLOTS ])( void );
+void (*_PDCLIB_regstack[ NUMBER_OF_SLOTS ])( void ) = { _PDCLIB_closeall };
size_t _PDCLIB_regptr = NUMBER_OF_SLOTS;
void exit( int status )
#ifdef TEST
#include <_PDCLIB_test.h>
-int main()
+int main( void )
{
- BEGIN_TESTS;
/* Unwinding of regstack tested in atexit(). */
return TEST_RESULTS;
}