]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(atexit): Define using a prototype.
authorJim Meyering <jim@meyering.net>
Wed, 10 Sep 2003 08:27:55 +0000 (08:27 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 10 Sep 2003 08:27:55 +0000 (08:27 +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.  */