diff options
author | DJ Delorie <dj@redhat.com> | 2005-03-27 05:28:42 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2005-03-27 05:28:42 +0000 |
commit | 9334f9c6cd576128ec4fc891b5fcf267a7fca7fb (patch) | |
tree | fda195cba89e4178623ea39866f41e6e28eb67c1 /libiberty/atexit.c | |
parent | 8da8e0b3f397df66d6e1c03470f4e6c31a63d292 (diff) | |
download | gdb-9334f9c6cd576128ec4fc891b5fcf267a7fca7fb.zip gdb-9334f9c6cd576128ec4fc891b5fcf267a7fca7fb.tar.gz gdb-9334f9c6cd576128ec4fc891b5fcf267a7fca7fb.tar.bz2 |
merge from gcc
Diffstat (limited to 'libiberty/atexit.c')
-rw-r--r-- | libiberty/atexit.c | 3 |
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. */ |