]> pd.if.org Git - pdclib/blobdiff - functions/stdlib/abort.c
exit( EXIT_FAILURE ) instead of exit( 1 ).
[pdclib] / functions / stdlib / abort.c
index 4a15bf898c84f90b9b3e3a83add230f9aa20fc65..6a6743f6a7fb020d28bdbab60178a0b51d86132d 100644 (file)
@@ -2,7 +2,7 @@
 
 /* Release $Name$ */
 
-/* abort()
+/* abort( void )
 
    This file is part of the Public Domain C Library (PDCLib).
    Permission is granted to use, modify, and / or redistribute at will.
 
 #ifndef REGTEST
 
-void abort()
+void abort( void )
 {
     raise( SIGABRT );
-    exit( 1 );
+    exit( EXIT_FAILURE );
 }
 
 #endif