aboutsummaryrefslogtreecommitdiff
path: root/libiberty/xexit.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2005-03-28 02:09:01 +0000
committerDJ Delorie <dj@redhat.com>2005-03-28 02:09:01 +0000
commit49b1fae4309ab5b9833f0af388483c2b6b4b3d50 (patch)
tree4d135fc6ff13dd077dc5cf1669777e75cae85305 /libiberty/xexit.c
parent67700458404b636f413570c6fab3d2cb221c63ba (diff)
downloadbinutils-49b1fae4309ab5b9833f0af388483c2b6b4b3d50.zip
binutils-49b1fae4309ab5b9833f0af388483c2b6b4b3d50.tar.gz
binutils-49b1fae4309ab5b9833f0af388483c2b6b4b3d50.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/xexit.c')
-rw-r--r--libiberty/xexit.c5
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) ();