X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdlib%2Fabort.c;h=6a6743f6a7fb020d28bdbab60178a0b51d86132d;hb=3f6094115e79a45413f08361b68b71eb08da306e;hp=4a15bf898c84f90b9b3e3a83add230f9aa20fc65;hpb=bf5c2e9fac630d11f6232ff7fd90d3060065b53a;p=pdclib diff --git a/functions/stdlib/abort.c b/functions/stdlib/abort.c index 4a15bf8..6a6743f 100644 --- a/functions/stdlib/abort.c +++ b/functions/stdlib/abort.c @@ -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. @@ -13,10 +13,10 @@ #ifndef REGTEST -void abort() +void abort( void ) { raise( SIGABRT ); - exit( 1 ); + exit( EXIT_FAILURE ); } #endif