bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnulib] atexit patch to assume C89 or better


From: Paul Eggert
Subject: [Bug-gnulib] atexit patch to assume C89 or better
Date: Mon, 08 Sep 2003 16:06:00 -0700

I installed this:

2003-09-08  Paul Eggert  <address@hidden>

        * atexit.c (atexit): Define using a prototype.

Index: lib/atexit.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/atexit.c,v
retrieving revision 1.2
diff -p -u -r1.2 atexit.c
--- lib/atexit.c        6 May 2000 14:33:46 -0000       1.2
+++ lib/atexit.c        8 Sep 2003 23:02:06 -0000
@@ -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.  */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]