diff options
Diffstat (limited to 'libiberty/xexit.c')
-rw-r--r-- | libiberty/xexit.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libiberty/xexit.c b/libiberty/xexit.c index a65690f..552db65 100644 --- a/libiberty/xexit.c +++ b/libiberty/xexit.c @@ -41,11 +41,10 @@ Termination is handled via the system's normal @code{exit} call. /* This variable is set by xatexit if it is called. This way, xmalloc doesn't drag xatexit into the link. */ -void (*_xexit_cleanup) PARAMS ((void)); +void (*_xexit_cleanup) (void); void -xexit (code) - int code; +xexit (int code) { if (_xexit_cleanup != NULL) (*_xexit_cleanup) (); |