From: Paul Eggert Date: Mon, 8 Sep 2003 23:03:20 +0000 (+0000) Subject: (atexit): Define using a prototype. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02d97fa1f7a73756747951b74de8655d9f11b509;p=pspp (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. */