summaryrefslogtreecommitdiff
path: root/libiberty/atexit.c
diff options
context:
space:
mode:
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 e14de29ab1d..e091f0139ee 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. */