*** empty log message ***
[gnulib.git] / lib / atexit.c
index 137d985..a401b2f 100644 (file)
@@ -3,16 +3,11 @@
 
 #include "config.h"
 
-#ifdef HAVE_ON_EXIT
-
 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.  */
   on_exit (f, 0);
   return 0;
 }
-
-#endif