(atexit): Define using a prototype.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 8 Sep 2003 23:03:20 +0000 (23:03 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 8 Sep 2003 23:03:20 +0000 (23:03 +0000)
lib/atexit.c

index 85e992f72e07610e4bc56192637cdd9bc1a50e11..a401b2ff8c7dafdf9edf653c916b79710f8b3b57 100644 (file)
@@ -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.  */