X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=libiberty%2Fatexit.c;h=e091f0139eedc5519ed38aee9e9cfa1e4d2c180a;hb=f6044a4be7f6f04e96f145ba045608e75e1e852b;hp=e14de29ab1d1c39d0fe509239d417f951eaf1bda;hpb=2ee563b53258d390d7446e90a67f465d504ae44c;p=deliverable%2Fbinutils-gdb.git diff --git a/libiberty/atexit.c b/libiberty/atexit.c index e14de29ab1..e091f0139e 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. */