]> pd.if.org Git - pdclib/blobdiff - functions/stdlib/abort.c
Porting current working set from CVS.
[pdclib] / functions / stdlib / abort.c
index 6a6743f6a7fb020d28bdbab60178a0b51d86132d..c5adfbd744ee0f21e5f24e2ac60cbc032fab65fb 100644 (file)
@@ -26,15 +26,14 @@ void abort( void )
 
 #include <stdio.h>
 
-static void aborthandler( int signal )
+static void aborthandler( int sig )
 {
     exit( 0 );
 }
 
-int main()
+int main( void )
 {
     int UNEXPECTED_RETURN_FROM_ABORT = 0;
-    BEGIN_TESTS;
     TESTCASE( signal( SIGABRT, &aborthandler ) != SIG_ERR );
     abort();
     TESTCASE( UNEXPECTED_RETURN_FROM_ABORT );