diff options
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. */ |