From 02d97fa1f7a73756747951b74de8655d9f11b509 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 8 Sep 2003 23:03:20 +0000 Subject: [PATCH] (atexit): Define using a prototype. --- lib/atexit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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. */ -- 2.30.2