X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fatexit.c;h=5ef33e57ee21922fd0e6e01f1635544e4fcb0a89;hb=7ef6c64e210ac0979d7e8ac69bc5b5208c2405ab;hp=85e992f72e07610e4bc56192637cdd9bc1a50e11;hpb=ba3a6b434dc4d4a0bd219c4fe876efe6eb835d75;p=gnulib.git diff --git a/lib/atexit.c b/lib/atexit.c index 85e992f72..5ef33e57e 100644 --- a/lib/atexit.c +++ b/lib/atexit.c @@ -1,11 +1,10 @@ /* Wrapper to implement ANSI C's atexit using SunOS's on_exit. */ /* This function is in the public domain. --Mike Stump. */ -#include "config.h" +#include 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. */