]> pd.if.org Git - pdclib/blobdiff - functions/stdlib/exit.c
Tweaking _PDCLIB_test.h.
[pdclib] / functions / stdlib / exit.c
index f093fe048bfd8a03923b7480167bf6e5f63e404b..5cb2a508fe19838baa4e9e95f08707af90e671c4 100644 (file)
 
 #ifndef REGTEST
 
-/* TODO: Required by both atexit() and exit(). */
-struct _PDCLIB_exitfunc_t
-{
-    struct _PDCLIB_exitfunc_t * next;
-    void (*func)( void );
-};
-
 struct _PDCLIB_exitfunc_t * regstack = NULL;
 
 void exit( int status )
@@ -42,7 +35,6 @@ void exit( int status )
 
 int main()
 {
-    int NO_TESTDRIVER = 0;
     BEGIN_TESTS;
     TESTCASE( NO_TESTDRIVER );
     return TEST_RESULTS;