From: Jim Meyering Date: Wed, 10 Sep 2003 08:27:55 +0000 (+0000) Subject: (atexit): Define using a prototype. X-Git-Tag: v5.1.0~787 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02889673a1e6864e27558954f32d8759a860b43c;p=thirdparty%2Fcoreutils.git (atexit): Define using a prototype. --- diff --git a/lib/atexit.c b/lib/atexit.c index 85e992f72e..a401b2ff8c 100644 --- a/lib/atexit.c +++ b/lib/atexit.c @@ -4,8 +4,7 @@ #include "config.h" 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. */