(atexit): Define using a prototype.
[gnulib.git] / lib / atexit.c
index 85e992f..a401b2f 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.  */