X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdlib%2Fexit.c;h=5cb2a508fe19838baa4e9e95f08707af90e671c4;hb=59ea6aaa046fcca1d29886ec7df98e8a92053469;hp=f093fe048bfd8a03923b7480167bf6e5f63e404b;hpb=d19e2e0c6595c2365e55a57a2e9a6cd0b13262c7;p=pdclib.old diff --git a/functions/stdlib/exit.c b/functions/stdlib/exit.c index f093fe0..5cb2a50 100644 --- a/functions/stdlib/exit.c +++ b/functions/stdlib/exit.c @@ -12,13 +12,6 @@ #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;