aboutsummaryrefslogtreecommitdiff
path: root/libiberty/atexit.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2005-03-27 05:28:42 +0000
committerDJ Delorie <dj@redhat.com>2005-03-27 05:28:42 +0000
commit9334f9c6cd576128ec4fc891b5fcf267a7fca7fb (patch)
treefda195cba89e4178623ea39866f41e6e28eb67c1 /libiberty/atexit.c
parent8da8e0b3f397df66d6e1c03470f4e6c31a63d292 (diff)
downloadfsf-binutils-gdb-9334f9c6cd576128ec4fc891b5fcf267a7fca7fb.zip
fsf-binutils-gdb-9334f9c6cd576128ec4fc891b5fcf267a7fca7fb.tar.gz
fsf-binutils-gdb-9334f9c6cd576128ec4fc891b5fcf267a7fca7fb.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/atexit.c')
-rw-r--r--libiberty/atexit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libiberty/atexit.c b/libiberty/atexit.c
index e14de29..e091f01 100644
--- a/libiberty/atexit.c
+++ b/libiberty/atexit.c
@@ -16,8 +16,7 @@ Causes function @var{f} to be called at exit. Returns 0.
#ifdef HAVE_ON_EXIT
int
-atexit(f)
- void (*f)();
+atexit(void (*f)(void))
{
/* If the system doesn't provide a definition for atexit, use on_exit
if the system provides that. */